Export (0) Print
Expand All

ReflectionModelServices.CreateExportDefinition Method

Creates an export definition from the specified member, with the specified contract name, metadata, and origin.

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

public static ExportDefinition CreateExportDefinition(
	LazyMemberInfo exportingMember,
	string contractName,
	Lazy<IDictionary<string, Object>> metadata,
	ICompositionElement origin
)

Parameters

exportingMember
Type: System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo
The member to export.
contractName
Type: System.String
The contract name to use for the export.
metadata
Type: System.Lazy<IDictionary<String, Object>>
The metadata for the export.
origin
Type: System.ComponentModel.Composition.Primitives.ICompositionElement
The object that the export originates from.

Return Value

Type: System.ComponentModel.Composition.Primitives.ExportDefinition
An export definition created from the specified parameters.

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