共用方式為


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

適用於