| Visual Basic (Declaration) | |
|---|---|
Public Delegate Sub OptionEventHandler( _ ByVal sender As Object, _ ByVal e As OptionEventArgs _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As New OptionEventHandler(AddressOf HandlerMethod) | |
| C# | |
|---|---|
public delegate void OptionEventHandler( object sender, OptionEventArgs e ) | |
| Managed Extensions for C++ | |
|---|---|
public: __gc __delegate void OptionEventHandler( Object* sender, OptionEventArgs* e ) | |
| C++/CLI | |
|---|---|
public delegate void OptionEventHandler( Object^ sender, OptionEventArgs^ e ) | |
Parameters
- sender
- The source of the event.
- e
- An OptionEventArgs containing option data.
Target Platforms: Microsoft .NET Framework 2.0