MethodToken 結構
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
MethodToken
結構是表示方法之語彙基元 (Token) 的物件表示。
public value class MethodToken
C#
[System.Serializable]
public struct MethodToken
C#
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct MethodToken
[<System.Serializable>]
type MethodToken = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type MethodToken = struct
Public Structure MethodToken
- 繼承
- 屬性
Token |
傳回這個方法的中繼資料語彙基元。 |
Equals(Method |
指出目前的執行個體和指定的 MethodToken 是否相等。 |
Equals(Object) |
測試指定物件是否等於這個 |
Get |
傳回這個方法的產生雜湊碼。 |
Equality(Method |
指出兩個 MethodToken 結構是否相等。 |
Inequality(Method |
指出兩個 MethodToken 結構是否不相等。 |
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |