Visual Basic (Declaration) | |
---|---|
Public Delegate Sub LocationEventHandler( _ ByVal sender As Object, _ ByVal e As LocationEventArgs _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New LocationEventHandler(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate void LocationEventHandler( object sender, LocationEventArgs e ) |
C++/CLI | |
---|---|
public delegate void LocationEventHandler( Object^ sender, LocationEventArgs^ e ) |
Parameters
- sender
- e
Target Platforms: Microsoft .NET Framework 2.0