Partager via


ImportCardinality Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Enumeration ImportCardinality
public enum ImportCardinality

Members

Member name Description
ZeroOrOne Zero or one Export objects are required by the ImportDefinition.
ExactlyOne Exactly one Export object is required by the ImportDefinition.
ZeroOrMore Zero or more Export objects are required by the ImportDefinition.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.