ImportDefinition.Cardinality 属性

定义

获取导入定义所需要的导出的基数。

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

属性值

指示 Export 所需要的 ImportDefinition 对象的基数的枚举值之一。 默认值为 ExactlyOne

适用于