Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 enum ImportCardinality

Member nameDescription
Supported by Portable Class LibraryExactlyOneExactly one Export object is required by the ImportDefinition.
Supported by Portable Class LibraryZeroOrMoreZero or more Export objects are required by the ImportDefinition.
Supported by Portable Class LibraryZeroOrOneZero or one Export objects are required by the ImportDefinition.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft