1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="EventRegistrationToken" FullName="System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken">
3 <TypeSignature Language="C#" Value="public struct EventRegistrationToken" />
4 <TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit EventRegistrationToken extends System.ValueType" />
6 <AssemblyName>mscorlib</AssemblyName>
7 <AssemblyVersion>4.0.0.0</AssemblyVersion>
10 <BaseTypeName>System.ValueType</BaseTypeName>
15 <attribution license="cc4" from="Microsoft" modified="false" />
16 <para>Use the <see cref="T:System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken" /> structure only if you use native wrt techniques to add and remove event handlers for wrt events. If you use the syntax that is provided by the C# or Visual Basic languages to add and remove event handlers, <see cref="T:System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken" /> is an implementation detail handled by the compilers. </para>
19 <attribution license="cc4" from="Microsoft" modified="false" />
20 <para>A token that is returned when an event handler is added to a wrt event. The token is used to remove the event handler from the event at a later time. </para>
24 <Member MemberName="Equals">
25 <MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
26 <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
27 <MemberType>Method</MemberType>
29 <AssemblyVersion>4.0.0.0</AssemblyVersion>
32 <ReturnType>System.Boolean</ReturnType>
35 <Parameter Name="obj" Type="System.Object" />
38 <returns>To be added.</returns>
39 <remarks>To be added.</remarks>
41 <attribution license="cc4" from="Microsoft" modified="false" />
42 <para>Returns a value that indicates whether the current object is equal to the specified object. </para>
45 <attribution license="cc4" from="Microsoft" modified="false" />The object to compare.</param>
48 <Member MemberName="GetHashCode">
49 <MemberSignature Language="C#" Value="public override int GetHashCode ();" />
50 <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
51 <MemberType>Method</MemberType>
53 <AssemblyVersion>4.0.0.0</AssemblyVersion>
56 <ReturnType>System.Int32</ReturnType>
60 <returns>To be added.</returns>
61 <remarks>To be added.</remarks>
63 <attribution license="cc4" from="Microsoft" modified="false" />
64 <para>Returns the hash code for this instance. </para>
68 <Member MemberName="op_Equality">
69 <MemberSignature Language="C#" Value="public static bool op_Equality (System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken left, System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken right);" />
70 <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken left, valuetype System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken right) cil managed" />
71 <MemberType>Method</MemberType>
73 <AssemblyVersion>4.0.0.0</AssemblyVersion>
76 <ReturnType>System.Boolean</ReturnType>
79 <Parameter Name="left" Type="System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken" />
80 <Parameter Name="right" Type="System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken" />
83 <returns>To be added.</returns>
84 <remarks>To be added.</remarks>
86 <attribution license="cc4" from="Microsoft" modified="false" />
87 <para>Indicates whether two <see cref="T:System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken" /> instances are equal. </para>
90 <attribution license="cc4" from="Microsoft" modified="false" />The first instance to compare. </param>
92 <attribution license="cc4" from="Microsoft" modified="false" />The second instance to compare. </param>
95 <Member MemberName="op_Inequality">
96 <MemberSignature Language="C#" Value="public static bool op_Inequality (System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken left, System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken right);" />
97 <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken left, valuetype System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken right) cil managed" />
98 <MemberType>Method</MemberType>
100 <AssemblyVersion>4.0.0.0</AssemblyVersion>
103 <ReturnType>System.Boolean</ReturnType>
106 <Parameter Name="left" Type="System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken" />
107 <Parameter Name="right" Type="System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken" />
110 <returns>To be added.</returns>
111 <remarks>To be added.</remarks>
113 <attribution license="cc4" from="Microsoft" modified="false" />
114 <para>Indicates whether two <see cref="T:System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken" /> instances are not equal.</para>
117 <attribution license="cc4" from="Microsoft" modified="false" />The first instance to compare. </param>
119 <attribution license="cc4" from="Microsoft" modified="false" />The second instance to compare. </param>