EventInfo Object

Visual Basic Reference

Visual Studio 6.0

EventInfo Object

See Also    Example    Properties    Methods    Events

Represents event information raised by a control assigned to a VBControlExtender object variable.

Syntax

EventInfo

Remarks

The EventInfo object is available in the ObjectEvent event, which is an event of the VBControlExtender object. In common practice, a control that is dynamically added to the Controls collection using the Add method will be assigned to an object variable of the type VBControlExtender. The ObjectEvent event can then be used to trap all events raised by the control, and the EventInfo object specifically represents any parameters passed by the raised events.

The EventInfo object has two properties: the Name property returns the name of the raised event; the EventParameters property returns a reference to the EventParameters collection that allows you to return values of all event parameters.

Show:
© 2016 Microsoft