Поделиться через


ReflectionModelServices.GetImportingParameter Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Updated: December 2010

Gets the importing parameter from a specified import definition.

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

Syntax

'Declaration
Public Shared Function GetImportingParameter ( _
    importDefinition As ImportDefinition _
) As Lazy(Of ParameterInfo)
public static Lazy<ParameterInfo> GetImportingParameter(
    ImportDefinition importDefinition
)

Parameters

Return Value

Type: System.Lazy<ParameterInfo>
The parameter specified in the import definition.

Exceptions

Exception Condition
ArgumentException

importDefinition is nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Change History

Date

History

Reason

December 2010

Added exception.

Content bug fix.