Export (0) Print
Expand All

AttributedModelServices.GetContractName Method

Gets a canonical contract name for the specified type.

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

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.

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