EventToken

EventToken serializable

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( )



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net