Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AttributedModelServices.CreatePart Method (Object, ReflectionContext)

.NET Framework 4.6 and 4.5

Creates a composable part from the specified attributed object, using the specified reflection context.

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

public static ComposablePart CreatePart(
	Object attributedPart,
	ReflectionContext reflectionContext
)

Parameters

attributedPart
Type: System.Object

The attributed object.

reflectionContext
Type: System.Reflection.ReflectionContext

The reflection context for the part.

ExceptionCondition
ArgumentNullException

reflectionContext is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft