Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft