StringToken StringToken StringToken StringToken Struct

定義

表示代表字串的語彙基元 (Token)。Represents a token that represents a string.

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

屬性

Token Token Token Token

擷取這個字串的中繼資料 (Metadata) 語彙基元。Retrieves the metadata token for this string.

方法

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

檢查指定物件是否為 StringToken 的執行個體,並且與這個執行個體相等。Checks if the given object is an instance of StringToken and is equal to this instance.

Equals(StringToken) Equals(StringToken) Equals(StringToken) Equals(StringToken)

指出目前的執行個體和指定的 StringToken 是否相等。Indicates whether the current instance is equal to the specified StringToken.

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

傳回這個字串的雜湊碼。Returns the hash code for this string.

運算子

Equality(StringToken, StringToken) Equality(StringToken, StringToken) Equality(StringToken, StringToken) Equality(StringToken, StringToken)

指出兩個 StringToken 結構是否相等。Indicates whether two StringToken structures are equal.

Inequality(StringToken, StringToken) Inequality(StringToken, StringToken) Inequality(StringToken, StringToken) Inequality(StringToken, StringToken)

指出兩個 StringToken 結構是否不相等。Indicates whether two StringToken structures are not equal.

適用於