FieldToken 结构

定义

FieldToken 结构是表示字段的令牌的对象表示形式。The FieldToken struct is an object representation of a token that represents a field.

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

字段

Empty

Token 值为 0 的默认 FieldToken。The default FieldToken with Token value 0.

属性

Token

检索该字段的元数据令牌。Retrieves the metadata token for this field.

方法

Equals(FieldToken)

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

Equals(Object)

确定对象是否是 FieldToken 的实例并等于该实例。Determines if an object is an instance of FieldToken and is equal to this instance.

GetHashCode()

生成此字段的哈希代码。Generates the hash code for this field.

运算符

Equality(FieldToken, FieldToken)

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

Inequality(FieldToken, FieldToken)

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

适用于