Edit

Share via


EventToken Struct

Definition

Represents the Token returned by the metadata to represent an event.

public value class EventToken
[System.Serializable]
public struct EventToken
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct EventToken
[<System.Serializable>]
type EventToken = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type EventToken = struct
Public Structure EventToken
Inheritance
EventToken
Attributes

Fields

Empty

The default EventToken with Token value 0.

Properties

Token

Retrieves the metadata token for this event.

Methods

Equals(EventToken)

Indicates whether the current instance is equal to the specified EventToken.

Equals(Object)

Checks if the given object is an instance of EventToken and is equal to this instance.

GetHashCode()

Generates the hash code for this event.

Operators

Equality(EventToken, EventToken)

Indicates whether two EventToken structures are equal.

Inequality(EventToken, EventToken)

Indicates whether two EventToken structures are not equal.

Applies to