AttributedModelServices.GetTypeIdentity 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得方法或類型的唯一識別碼。
多載
| 名稱 | 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
值得仔細檢視的類型。
傳回
該類型的唯一識別碼。