1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
<Type Name="EventHandler" FullName="System.EventHandler" FullNameSP="System_EventHandler" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public sealed serializable EventHandler extends System.Delegate" />
<TypeSignature Language="C#" Value="public delegate void EventHandler(object sender, EventArgs e);" />
<MemberOfLibrary>BCL</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>
<para> Defines the shape of methods that are called in response to an event.</para>
</summary>
<param name="sender">The object that raised the event.</param>
<param name="e">A <see cref="T:System.EventArgs" /> instance that contains the event data.</param>
<remarks>
<block subset="none" type="note">
<para> A <see cref="T:System.EventHandler" /> instance is used to specify the methods that
are invoked in response to an event. To associate an instance of
<see langword="EventHandler" /> with an event, add the
<see langword="EventHandler" /> instance to the event. The methods referenced by the
<see langword="EventHandler " />instance are invoked
whenever the event is raised, until the
<see langword="EventHandler" />
instance is removed from the event. </para>
<para>If the event does not generate data, applications use the base
class <see cref="T:System.EventArgs" /> for the event data object
<paramref name="e" />. For more information, see <see cref="T:System.EventArgs" />.</para>
</block>
<para>
<block subset="none" type="note"> For additional
information about events, see Partitions I and II of the CLI Specification. </block>
</para>
</remarks>
</Docs>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Members />
<TypeExcluded>0</TypeExcluded>
<Parameters>
<Parameter Name="sender" Type="System.Object" />
<Parameter Name="e" Type="System.EventArgs" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
</Type>
|