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)

'Declaration
Public Shared Function GetPartType ( _
	partDefinition As ComposablePartDefinition _
) As Lazy(Of Type)

Parameters

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

Return Value

Type: System.Lazy(Of Type)
The type of the defined part.

ExceptionCondition
ArgumentException

partDefinition is Nothing.

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: