ReflectionModelServices.GetImportingParameter(ImportDefinition) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.