Partager via


AttributedModelServices.CreatePart Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Creates a composable part from an attributed object.

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

Syntax

'Declaration
Public Shared Function CreatePart ( _
    attributedPart As Object _
) As ComposablePart
public static ComposablePart CreatePart(
    Object attributedPart
)

Parameters

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.