ReflectionModelServices.GetExportingMember Method (ExportDefinition)

 

Gets the exporting member from a specified export definition.

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

public static LazyMemberInfo GetExportingMember(
	ExportDefinition exportDefinition
)

Parameters

exportDefinition
Type: System.ComponentModel.Composition.Primitives.ExportDefinition

The export definition to examine.

Return Value

Type: System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo

The member specified in the export definition.

Exception Condition
ArgumentException

exportDefinition is null.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: