ImportCardinality Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: