ReflectionModelServices.IsImportingParameter Method

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

Updated: December 2010

Determines whether an import definition represents a member or a parameter.

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

Syntax

'Declaration
Public Shared Function IsImportingParameter ( _
    importDefinition As ImportDefinition _
) As Boolean
public static bool IsImportingParameter(
    ImportDefinition importDefinition
)

Parameters

Return Value

Type: System.Boolean
true if the import definition represents a parameter; otherwise, false.

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.