Export (0) Print
Expand All

ReflectionModelServices.GetPartType Method

Updated: December 2010

Gets the type of a part from a specified part definition.

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

public static Lazy<Type> GetPartType(
	ComposablePartDefinition partDefinition
)

Parameters

partDefinition
Type: System.ComponentModel.Composition.Primitives.ComposablePartDefinition
The part definition to examine.

Return Value

Type: System.Lazy<Type>
The type of the defined part.

ExceptionCondition
ArgumentException

partDefinition 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:
© 2014 Microsoft