ReflectionModelServices.GetImportingParameter(ImportDefinition) Method

Definition

Gets the importing parameter from a specified import definition.

public:
 static Lazy<System::Reflection::ParameterInfo ^> ^ GetImportingParameter(System::ComponentModel::Composition::Primitives::ImportDefinition ^ importDefinition);
public static Lazy<System.Reflection.ParameterInfo> GetImportingParameter (System.ComponentModel.Composition.Primitives.ImportDefinition importDefinition);
static member GetImportingParameter : System.ComponentModel.Composition.Primitives.ImportDefinition -> Lazy<System.Reflection.ParameterInfo>
Public Shared Function GetImportingParameter (importDefinition As ImportDefinition) As Lazy(Of ParameterInfo)

Parameters

importDefinition
ImportDefinition

The import definition to examine.

Returns

The parameter specified in the import definition.

Exceptions

importDefinition is null.

Applies to