MethodToken Struktura

Definicja

Struktura MethodToken jest reprezentacją obiektu tokenu, który reprezentuje metodę.

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
Dziedziczenie
MethodToken
Atrybuty

Pola

Empty

Wartość domyślna MethodToken z wartością Token 0.

Właściwości

Token

Zwraca token metadanych dla tej metody.

Metody

Equals(MethodToken)

Wskazuje, czy bieżące wystąpienie jest równe określonej MethodTokenwartości .

Equals(Object)

Sprawdza, czy dany obiekt jest równy temu MethodToken obiektowi.

GetHashCode()

Zwraca wygenerowany kod skrótu dla tej metody.

Operatory

Equality(MethodToken, MethodToken)

Wskazuje, czy dwie MethodToken struktury są równe.

Inequality(MethodToken, MethodToken)

Wskazuje, czy dwie MethodToken struktury nie są równe.

Dotyczy