CreatePartDefinition Method (Type, ICompositionElement)
Collapse the table of content
Expand the table of content

AttributedModelServices.CreatePartDefinition Method (Type, ICompositionElement)

Creates a part definition with the specified type and origin.

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

public static ComposablePartDefinition CreatePartDefinition(
	Type type,
	ICompositionElement origin
)

Parameters

type
Type: System.Type
The type of the definition.
origin
Type: System.ComponentModel.Composition.Primitives.ICompositionElement
The origin of the definition.

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.

Community Additions

ADD
Show:
© 2016 Microsoft