Bewerken

Delen via


MethodToken Struct

Definition

The MethodToken struct is an object representation of a token that represents a method.

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
Inheritance
MethodToken
Attributes

Fields

Empty

The default MethodToken with Token value 0.

Properties

Token

Returns the metadata token for this method.

Methods

Equals(MethodToken)

Indicates whether the current instance is equal to the specified MethodToken.

Equals(Object)

Tests whether the given object is equal to this MethodToken object.

GetHashCode()

Returns the generated hash code for this method.

Operators

Equality(MethodToken, MethodToken)

Indicates whether two MethodToken structures are equal.

Inequality(MethodToken, MethodToken)

Indicates whether two MethodToken structures are not equal.

Applies to