ImportCardinality Enumeration

 

Indicates the cardinality of the Export objects required by an ImportDefinition.

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

Public Enumeration ImportCardinality

Member nameDescription
ExactlyOne

Exactly one Export object is required by the ImportDefinition.

ZeroOrMore

Zero or more Export objects are required by the ImportDefinition.

ZeroOrOne

Zero or one Export objects are required by the ImportDefinition.

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