BaseGpsReceiverOnReceived Method |
Raises the Received event.
Namespace: ZylSoft.GpsAssembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.29.9208.19412
XMLNS for XAML: Not mapped to an xmlns.
Syntaxprotected virtual void OnReceived(
DataEventArgs e
)
Protected Overridable Sub OnReceived (
e As DataEventArgs
)
Dim e As DataEventArgs
Me.OnReceived(e)
protected:
virtual void OnReceived(
DataEventArgs^ e
)
abstract OnReceived :
e : DataEventArgs -> unit
override OnReceived :
e : DataEventArgs -> unit
protected void OnReceived(
DataEventArgs e
)
protected function OnReceived(
e : DataEventArgs
)
PROTECTED VIRTUAL METHOD OnReceived(
e AS DataEventArgs
) AS VOID
No code example is currently available or this language may not be supported.
Parameters
- e DataEventArgs
-
A DataEventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate.
The OnReceived method also allows derived classes to handle the event without
attaching a delegate. This is the preferred technique for handling the event
in a derived class.
Notes to Inheritors: When overriding OnReceived in a derived class, be sure to
call the base class's OnReceived method so that registered delegates
receive the event.
See Also