Export (0) Print
Expand All

ContractBasedImportDefinition.RequiredMetadata Property

Gets the metadata names of the export required by the import definition.

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

public virtual IEnumerable<KeyValuePair<string, Type>> RequiredMetadata { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, Type>>
A collection of String objects that contain the metadata names of the Export objects required by the ContractBasedImportDefinition. The default is an empty IEnumerable<T> collection.

Overrides of this property should never return null or return an IEnumerable<T> collection that contains an element that is null. If the definition does not contain required metadata, return an empty IEnumerable<T> collection instead.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2014 Microsoft