Registration Token Struct
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A token that is returned when an event handler is added to a Windows Runtime event. The token is used to remove the event handler from the event at a later time.
public value class EventRegistrationToken
public struct EventRegistrationToken
type EventRegistrationToken = struct
Public Structure EventRegistrationToken
Use the EventRegistrationToken structure only if you use native Windows Runtime techniques to add and remove event handlers for Windows Runtime events. If you use the syntax that is provided by the C# or Visual Basic languages to add and remove event handlers, EventRegistrationToken is an implementation detail handled by the compilers.
Returns a value that indicates whether the current object is equal to the specified object.
Returns the hash code for this instance.
Indicates whether two EventRegistrationToken instances are equal.
Indicates whether two EventRegistrationToken instances are not equal.