ImportDefinition.Cardinality Property

Gets the cardinality of the exports required by the import definition.

Namespace:  System.ComponentModel.Composition.Primitives
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)


Public Overridable ReadOnly Property Cardinality As ImportCardinality
public virtual ImportCardinality Cardinality { get; }

Property Value

Type: System.ComponentModel.Composition.Primitives.ImportCardinality
One of the enumeration values that indicates the cardinality of the Export objects required by the ImportDefinition. The default is ExactlyOne.

Version Information


Supported in: 5, 4


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.