Visavi Visual OPC .NET  

OnGroupRemoved Method

Raises the GroupRemoved event.

[Visual Basic]
 Protected Overridable Sub  OnGroupRemoved( _
   ByVal sender As Object, _
   ByVal args As GroupArgs _
)

[C#]
 protected virtual void OnGroupRemoved(
   object sender,
   GroupArgs args
);

[C++]
 protected __gc virtual void OnGroupRemoved(
   Object* sender,
   GroupArgs* args
);

[JScript]
 protected function OnGroupRemoved(
   sender : object,
   args : GroupArgs
);

Parameters

sender
The source of the event.
args
A GroupArgs that contains the group that was removed.

Remarks

Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.

The OnGroupRemoved 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 OnGroupRemoved in a derived class, be sure to call the base class's OnGroupRemoved method so that registered delegates receive the event.

Requirements

Namespace: Visavi.Opc.Client

Platforms:  Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

Assembly: Visavi.Opc.Client

See Also

Visavi.Opc.Client Namespace