AttributedModelServices.GetTypeIdentity 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得方法或型別的唯一識別項。
多載
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
要檢查的型別。
傳回
型別的唯一識別項。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應