IsImportingParameter Method

ReflectionModelServices.IsImportingParameter Method

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)

public static bool IsImportingParameter(
	ImportDefinition importDefinition
)

Parameters

importDefinition
Type: System.ComponentModel.Composition.Primitives.ImportDefinition
The import definition to examine.

Return Value

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

ExceptionCondition
ArgumentException

importDefinition is null.

Silverlight

Supported in: 5, 4

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

Date

History

Reason

December 2010

Added exception.

Content bug fix.

Community Additions

ADD
Show:
© 2016 Microsoft