3.1.4.6 IEventObjectCollection

The IEventObjectCollection interface provides methods that manage and enumerate over a collection of objects. The interface inherits opnums 0 through 6 from IDispatch as specified in [MS-OAUT] section 3.1.4. The version for this interface is 0.0.

The server returns a DCOM object implementing this interface with UUID {f89ac270-d4eb-11d1-b682-00805fc79216} from the following methods:

  1. Query (Opnum 7) (section 3.1.4.1.1)

  2. GetPublisherPropertyCollection (Opnum 34) (section 3.1.4.4.28)

  3. GetSubscriberPropertyCollection (Opnum 38) (section 3.1.4.4.32)

This interface includes the following methods beyond those of IDispatch.

Methods in RPC Opnum Order

Method

Description

get__NewEnum

Returns an enumerator DCOM object.

Opnum: 7

get_Item

Gets the item in the collection based on an ID.

Opnum: 8

get_NewEnum

Gets the IEnumEventObject supporting the DCOM based object instance for the underlying collection.

Opnum: 9

get_Count

Gets the number of items in the collection.

Opnum: 10

Add

Adds an item to the collection.

Opnum: 11

Remove

Removes an item from the collection.

Opnum: 12