ZylGPSReceiver Mobile for Smart Phone

DetectEventHandler Delegate

Represents the method that will handle the Detecting event.

[Visual Basic]
Public Delegate Sub DetectEventHandler( _
   ByVal Object As Object, _
   ByVal DetectEventArgs As DetectEventArgs, _
   ByRef Boolean& As Boolean@ _
)
[C#]
public delegate void DetectEventHandler(
   Object sender,
   DetectEventArgs e,
   ref Boolean& cancel
);

Parameters

Object
The source of the event.
DetectEventArgs
A DetectEventArgs that contains the event data.
Boolean&
If you set the cancel parameter to true, then the detection will be cancelled.

Remarks

When you create a DetectEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

Requirements

Namespace: ZylGPSReceiverMobileSP

Assembly: ZylGPSReceiverMobileSP (in ZylGPSReceiverMobileSP.dll)

See Also

ZylGPSReceiverMobileSP Namespace