EventRegistrationToken Struct
Definition
Important
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
- Inheritance
Remarks
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.
Methods
Equals(Object) |
Returns a value that indicates whether the current object is equal to the specified object. |
GetHashCode() |
Returns the hash code for this instance. |
Operators
Equality(EventRegistrationToken, EventRegistrationToken) |
Indicates whether two EventRegistrationToken instances are equal. |
Inequality(EventRegistrationToken, EventRegistrationToken) |
Indicates whether two EventRegistrationToken instances are not equal. |
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για