AttributedModelServices.GetTypeIdentity 方法

定義

取得方法或類型的唯一識別碼。

多載

名稱 Description
GetTypeIdentity(MethodInfo)

取得指定方法的唯一識別碼。

GetTypeIdentity(Type)

取得指定類型的唯一識別碼。

GetTypeIdentity(MethodInfo)

取得指定方法的唯一識別碼。

public:
 static System::String ^ GetTypeIdentity(System::Reflection::MethodInfo ^ method);
public static string GetTypeIdentity(System.Reflection.MethodInfo method);
static member GetTypeIdentity : System.Reflection.MethodInfo -> string
Public Function GetTypeIdentity (method As MethodInfo) As String

參數

method
MethodInfo

檢視的方法。

傳回

方法的唯一識別碼。

適用於

GetTypeIdentity(Type)

取得指定類型的唯一識別碼。

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

參數

type
Type

值得仔細檢視的類型。

傳回

該類型的唯一識別碼。

適用於