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 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.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Return to top