ZylGPSReceiver.NET

GPSReceiver.OnAltitudeChanged Method 

Raises the AltitudeChanged event.

[Visual Basic]
Overridable Protected Sub OnAltitudeChanged( _
   ByVal ParamEventArgs As ParamEventArgs _
)
[C#]
protected virtual void OnAltitudeChanged(
   ParamEventArgs e
);

Parameters

ParamEventArgs
A ParamEventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. The OnAltitudeChanged 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 OnAltitudeChanged in a derived class, be sure to call the base class's OnAltitudeChanged method so that registered delegates receive the event.

See Also

GPSReceiver Class | ZylGPSReceiver Namespace