ReflectionModelServices.GetImportingMember Method (ImportDefinition)

 

Gets the importing member from a specified import definition.

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

public static LazyMemberInfo GetImportingMember(
	ImportDefinition importDefinition
)

Parameters

importDefinition
Type: System.ComponentModel.Composition.Primitives.ImportDefinition

The import definition to examine.

Return Value

Type: System.ComponentModel.Composition.ReflectionModel.LazyMemberInfo

The member specified in the import definition.

Exception Condition
ArgumentException

importDefinition is null.

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