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.
| Method | Description |
|---|---|
| Add |
Adds an event object to the collection. |
| Remove |
Removes an event object from the collection. |
Properties
The IEventObjectCollection interface has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
An enumerator for the objects in the collection. | |
| Read-only |
The number of objects in the collection. | |
| Read-only |
An item in the collection. | |
| 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 |
|
|
IDL |
|
See also