ImportCardinality Enumeration

ImportCardinality Enumeration

.NET Framework (current version)
 

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 enum 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:
© 2016 Microsoft