다음을 통해 공유


AttributedModelServices.GetContractName Method

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

Gets a canonical contract name for the specified type.

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

Syntax

'Declaration
Public Shared Function GetContractName ( _
    type As Type _
) As String
public static string GetContractName(
    Type type
)

Parameters

Return Value

Type: System.String
A contract name created from the specified type.

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.