AttributedModelServices::GetContractName Method (Type^)

 

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.

.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Return to top
Show: