- eventHandler
- The event handler.
- sender
- The sender.
- e
- An instance of the eventargs.
Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Shared Sub Fire(Of T As EventArgs)( _ ByVal eventHandler As EventHandler(Of T), _ ByVal sender As Object, _ ByVal e As T _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim eventHandler As EventHandler(Of T) Dim sender As Object Dim e As T GeneralExtensions.Fire(Of T)(eventHandler, sender, e) |
C# | |
---|---|
[ExtensionAttribute()] public static void Fire<T>( EventHandler<T> eventHandler, object sender, T e )where T: EventArgs |
C++/CLI | |
---|---|
[ExtensionAttribute()] public: static void Firegeneric<typename T> ( EventHandler<T^>^ eventHandler, Object^ sender, T^ e ) where T: EventArgs |
Parameters
- eventHandler
- The event handler.
- sender
- The sender.
- e
- An instance of the eventargs.
Type Parameters
- T
- The type of event args for the event.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7