Name
EventToken
Synopsis
This class represents the token for an event. A token is a 4-byte
number that points to the metadata description of a program element in MSIL. The
first byte in the token identifies the metadata table, which depends on the type
of program element. The remaining 3 bytes specify the row in the metadata
table. For example, the token 0x06000004 specifies that the corresponding
metadata is stored in the fourth row of table 0x06
(the MethodDef
table).
public struct EventToken { // Public Static Fields public static readonly field EventToken Empty; // =System.Reflection.Emit.EventToken // Public Instance Properties public field int Token{get; } // Public Instance Methods public override method bool Equals(object obj); // overrides ValueType public override method int GetHashCode(); // overrides ValueType }
Hierarchy
System.Object→System.ValueType→EventToken
Returned By
EventBuilder.GetEventToken()
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.