ImportDefinition.Cardinality 属性

定义

获取导入定义所需要的导出的基数。Gets the cardinality of the exports required by the import definition.

public:
 virtual property System::ComponentModel::Composition::Primitives::ImportCardinality Cardinality { System::ComponentModel::Composition::Primitives::ImportCardinality get(); };
public virtual System.ComponentModel.Composition.Primitives.ImportCardinality Cardinality { get; }
member this.Cardinality : System.ComponentModel.Composition.Primitives.ImportCardinality
Public Overridable ReadOnly Property Cardinality As ImportCardinality

属性值

ImportCardinality

指示 Export 所需要的 ImportDefinition 对象的基数的枚举值之一。One of the enumeration values that indicates the cardinality of the Export objects required by the ImportDefinition. 默认值为 ExactlyOneThe default is ExactlyOne.

适用于