EventToken Structure

EventToken Structure

 

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

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[ComVisibleAttribute(true)]
public struct EventToken

NameDescription
System_CAPS_pubpropertyToken

Retrieves the metadata token for this event.

NameDescription
System_CAPS_pubmethodEquals(EventToken)

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

System_CAPS_pubmethodEquals(Object)

Checks if the given object is an instance of EventToken and is equal to this instance.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Generates the hash code for this event.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEmpty

The default EventToken with Token value 0.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(EventToken, EventToken)

Indicates whether two EventToken structures are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(EventToken, EventToken)

Indicates whether two EventToken structures are not equal.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft