SignatureToken 结构

定义

表示由元数据返回以表示签名的 TokenRepresents the Token returned by the metadata to represent a signature.

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

字段

Empty

SignatureToken 值为 0 的默认 TokenThe default SignatureToken with Token value 0.

属性

Token

检索此方法的局部变量签名的元数据标记。Retrieves the metadata token for the local variable signature for this method.

方法

Equals(Object)

检查给定对象是否为 SignatureToken 的实例和是否等于此实例。Checks if the given object is an instance of SignatureToken and is equal to this instance.

Equals(SignatureToken)

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

GetHashCode()

生成该签名的哈希代码。Generates the hash code for this signature.

运算符

Equality(SignatureToken, SignatureToken)

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

Inequality(SignatureToken, SignatureToken)

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

适用于