AttributedModelServices.GetContractName(Type) Method

Definition

Gets a canonical contract name for the specified type.

public:
 static System::String ^ GetContractName(Type ^ type);
public static string GetContractName (Type type);
static member GetContractName : Type -> string
Public Function GetContractName (type As Type) As String

Parameters

type
Type

The type to use.

Returns

A contract name created from the specified type.

Applies to