EventToken EventToken EventToken EventToken Struct

定义

表示由元数据返回以表示某事件的 TokenRepresents 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

Token 值为 0 的默认 EventTokenThe default EventToken with Token value 0.

属性

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)

指示当前实例是否等于指定的 EventTokenIndicates 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.

适用于