3.15.4.1 IMSMQCollection Interface

The IMSMQCollection interface provides methods for interacting with a VariantCollection of queues. The version for this interface is 1.0.

To receive incoming remote calls for this interface, the server MUST implement a DCOM object class with the CLSID {f72b9031-2f0c-43e8-924e-e6052cdc493f} (coclass MSMQCollection, as specified in section 1.9), which implements the IMSMQCollection interface using the UUID {0188ac2f-ecb3-4173-9779-635ca2039c72}.

The following opnum table begins at opnum 7. Opnums 0 through 2 are inherited from the IUnknown interface, as specified in [MS-DCOM] section 3.1.1.5.8. Opnums 3 through 6 are inherited from the IDispatch interface, as specified in [MS-OAUT] section 3.1.4.

Methods in RPC Opnum Order

Method

Description

Item

Returns the specific element from the VariantCollection instance variable with the specified key value.

Opnum: 7

Count, get Count

Returns the number of elements in the VariantCollection instance variable.

Opnum: 8

NewEnum

Returns a standard OLE Automation enumerator as defined by [MS-OAUT] section 2.2 that can be used to enumerate the VariantCollection instance variable.

Opnum: 9