ReflectionModelServices.GetImportingParameter Method (ImportDefinition)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the importing parameter from a specified import definition.

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

public static Lazy<ParameterInfo> GetImportingParameter(
	ImportDefinition importDefinition
)

Parameters

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

The import definition to examine.

Return Value

Type: System.Lazy<ParameterInfo>

The parameter 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: