AttributedModelServices::GetContractName Method (Type^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: