Visual Basic (Declaration) | |
---|---|
Public Delegate Sub KeyPressHandler( _ ByVal sender As Object, _ ByVal args As DataEventArgs _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As New KeyPressHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void KeyPressHandler( object sender, DataEventArgs args ) |
Managed Extensions for C++ | |
---|---|
public: __gc __delegate void KeyPressHandler( Object* sender, DataEventArgs* args ) |
C++/CLI | |
---|---|
public delegate void KeyPressHandler( Object^ sender, DataEventArgs^ args ) |
Parameters
- sender
- args
Target Platforms: Microsoft .NET Framework 2.0