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
- type
Type: System.Type
The type to use.
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.