MethodToken 結構

定義

MethodToken 結構是表示方法之語彙基元 (Token) 的物件表示。

public value class MethodToken
[System.Serializable]
public struct MethodToken
[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
繼承
MethodToken
屬性

欄位

Empty

預設 MethodToken,具有 Token 值 0。

屬性

Token

傳回這個方法的中繼資料語彙基元。

方法

Equals(MethodToken)

指出目前的執行個體和指定的 MethodToken 是否相等。

Equals(Object)

測試指定物件是否等於這個 MethodToken 物件。

GetHashCode()

傳回這個方法的產生雜湊碼。

運算子

Equality(MethodToken, MethodToken)

指出兩個 MethodToken 結構是否相等。

Inequality(MethodToken, MethodToken)

指出兩個 MethodToken 結構是否不相等。

適用於