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

屬性值

一個列舉值,表示 Export 所需之 ImportDefinition 物件的基數。One of the enumeration values that indicates the cardinality of the Export objects required by the ImportDefinition. 預設為 ExactlyOneThe default is ExactlyOne.

適用於