DekGenius.com
[ Team LiB ] Previous Section Next Section

EventTokenserializable

System.Reflection.Emit (mscorlib.dll)struct

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 EventToken Empty;           
// =System.Reflection.Emit.EventToken
// Public Instance Properties
   public int Token{get; }
// Public Instance Methods
   public override bool Equals(object obj);          
// overrides ValueType
   public override int GetHashCode( );    
// overrides ValueType
}

Hierarchy

System.Object System.ValueType EventToken

Returned By

EventBuilder.GetEventToken( )

    [ Team LiB ] Previous Section Next Section