SymbolToken SymbolToken SymbolToken SymbolToken Struct

定義

SymbolToken 結構是表示符號資訊之語彙基元 (Token) 的物件表示。The SymbolToken structure is an object representation of a token that represents symbolic information.

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

建構函式

SymbolToken(Int32) SymbolToken(Int32) SymbolToken(Int32) SymbolToken(Int32)

當有指定的值時,初始化 SymbolToken 結構的新執行個體。Initializes a new instance of the SymbolToken structure when given a value.

方法

Equals(SymbolToken) Equals(SymbolToken) Equals(SymbolToken) Equals(SymbolToken)

判斷 obj 是否等於這個執行個體。Determines whether obj is equal to this instance.

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

決定 obj 是否為 SymbolToken 的執行個體,並且等於這個執行個體。Determines whether obj is an instance of SymbolToken and is equal to this instance.

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

產生目前語彙基元的雜湊程式碼 (Hash Code)。Generates the hash code for the current token.

GetToken() GetToken() GetToken() GetToken()

取得目前語彙基元的值。Gets the value of the current token.

運算子

Equality(SymbolToken, SymbolToken) Equality(SymbolToken, SymbolToken) Equality(SymbolToken, SymbolToken) Equality(SymbolToken, SymbolToken)

傳回值,這個值表示兩個 SymbolToken 物件是否相等。Returns a value indicating whether two SymbolToken objects are equal.

Inequality(SymbolToken, SymbolToken) Inequality(SymbolToken, SymbolToken) Inequality(SymbolToken, SymbolToken) Inequality(SymbolToken, SymbolToken)

傳回值,指出兩個 SymbolToken 物件是否不相等。Returns a value indicating whether two SymbolToken objects are not equal.

適用於

另請參閱