Condividi tramite


MethodToken Struct

Definizione

La struttura MethodToken è una rappresentazione di un token che indica un metodo.

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
Ereditarietà
MethodToken
Attributi

Campi

Nome Descrizione
Empty

L'oggetto MethodToken predefinito con valore Token pari a 0.

Proprietà

Nome Descrizione
Token

Restituisce il token di metadati per il metodo.

Metodi

Nome Descrizione
Equals(MethodToken)

Indica se l'istanza corrente è uguale all'oggetto MethodToken specificato.

Equals(Object)

Verifica se l'oggetto indicato è uguale all'oggetto MethodToken.

GetHashCode()

Restituisce il codice hash generato per il metodo.

Operatori

Nome Descrizione
Equality(MethodToken, MethodToken)

Indica se due strutture MethodToken sono uguali.

Inequality(MethodToken, MethodToken)

Indica se due strutture MethodToken non sono uguali.

Si applica a