SymbolToken 结构

定义

SymbolToken 结构是表示符号信息的标记的对象表示形式。The SymbolToken structure is an object representation of a token that represents symbolic information.

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

构造函数

SymbolToken(Int32)

在给定值的情况下,初始化 SymbolToken 结构的新实例。Initializes a new instance of the SymbolToken structure when given a value.

方法

Equals(Object)

确定 obj 是否为 SymbolToken 的实例以及是否等于此实例。Determines whether obj is an instance of SymbolToken and is equal to this instance.

Equals(SymbolToken)

确定 obj 是否等于此实例。Determines whether obj is equal to this instance.

GetHashCode()

生成当前标记的哈希代码。Generates the hash code for the current token.

GetToken()

获取当前标记的值。Gets the value of the current token.

运算符

Equality(SymbolToken, SymbolToken)

返回一个值,该值指示两个 SymbolToken 对象是否相等。Returns a value indicating whether two SymbolToken objects are equal.

Inequality(SymbolToken, SymbolToken)

返回一个值,该值指示两个 SymbolToken 对象是否不相等。Returns a value indicating whether two SymbolToken objects are not equal.

适用于

另请参阅