EventToken EventToken EventToken EventToken Struct

定義

表示中繼資料 (Metadata) 所傳回的 Token,來表示事件。Represents the Token returned by the metadata to represent an event.

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

欄位

Empty Empty Empty Empty

預設 EventToken,具有 Token 值 0。The default EventToken with Token value 0.

屬性

Token Token Token Token

擷取這個事件的中繼資料 Token。Retrieves the metadata token for this event.

方法

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

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

Equals(EventToken) Equals(EventToken) Equals(EventToken) Equals(EventToken)

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

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

產生這個事件的雜湊碼。Generates the hash code for this event.

運算子

Equality(EventToken, EventToken) Equality(EventToken, EventToken) Equality(EventToken, EventToken) Equality(EventToken, EventToken)

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

Inequality(EventToken, EventToken) Inequality(EventToken, EventToken) Inequality(EventToken, EventToken) Inequality(EventToken, EventToken)

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

適用於