ImportDefinition.Cardinality Property

Definition

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

Property Value

One of the enumeration values that indicates the cardinality of the Export objects required by the ImportDefinition. The default is ExactlyOne.

Applies to