IEventObjectCollection interface

Manages objects in an event objects collection.

When to implement

You do not generally implement IEventObjectCollection. This interface is implemented on collection objects that are created by calls to IEventSystem::Query or IEventControl::GetSubscriptions.

When to use

Use IEventObjectCollection to obtain an enumeration object that implements the IEnumEventObject interface.

Members

The IEventObjectCollection interface inherits from the IDispatch interface. IEventObjectCollection also has these types of members:

Methods

The IEventObjectCollection interface has these methods.

MethodDescription
Add

Adds an event object to the collection.

Remove

Removes an event object from the collection.

 

Properties

The IEventObjectCollection interface has these properties.

PropertyAccess typeDescription

_NewEnum

Read-only

An enumerator for the objects in the collection.

Count

Read-only

The number of objects in the collection.

Item

Read-only

An item in the collection.

NewEnum

Read-only

An enumeration object that implements IEnumEventObject.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Eventsys.h

IDL

Eventsys.idl

See also

IEnumEventObject

 

 

Community Additions

ADD
Show: