MethodToken MethodToken MethodToken MethodToken Struct

定义

MethodToken 结构是表示方法的标记的对象表示形式。The MethodToken struct is an object representation of a token that represents a method.

public value class MethodToken
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public struct MethodToken
type MethodToken = struct
Public Structure MethodToken
继承
MethodTokenMethodTokenMethodTokenMethodToken
属性

字段

Empty Empty Empty Empty

Token 值为 0 的默认 MethodTokenThe default MethodToken with Token value 0.

属性

Token Token Token Token

返回此方法的元数据标记。Returns the metadata token for this method.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

测试给定对象是否等于此 MethodToken 对象。Tests whether the given object is equal to this MethodToken object.

Equals(MethodToken) Equals(MethodToken) Equals(MethodToken) Equals(MethodToken)

指示当前实例是否等于指定的 MethodTokenIndicates whether the current instance is equal to the specified MethodToken.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

返回为此方法生成的哈希代码。Returns the generated hash code for this method.

操作员

Equality(MethodToken, MethodToken) Equality(MethodToken, MethodToken) Equality(MethodToken, MethodToken) Equality(MethodToken, MethodToken)

指示两个 MethodToken 结构是否相等。Indicates whether two MethodToken structures are equal.

Inequality(MethodToken, MethodToken) Inequality(MethodToken, MethodToken) Inequality(MethodToken, MethodToken) Inequality(MethodToken, MethodToken)

指示两个 MethodToken 结构是否不相等。Indicates whether two MethodToken structures are not equal.

适用于