AttributedModelServices.GetContractName(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

參數

type
Type

要使用的型別。

傳回

從指定之型別建立的合約名稱。

適用於