Export (0) Print
Expand All

AttributedModelServices.CreatePartDefinition Method (Type, ICompositionElement, Boolean)

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,
	bool ensureIsDiscoverable
)

Parameters

type
Type: System.Type
The type of the definition.
origin
Type: System.ComponentModel.Composition.Primitives.ICompositionElement
The origin of the definition.
ensureIsDiscoverable
Type: System.Boolean
A value indicating whether or not the new definition should be discoverable.

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