IObjectArray interface (objectarray.h)

Exposes methods that enable clients to access items in a collection of objects that support IUnknown.

Inheritance

The IObjectArray interface inherits from the IUnknown interface. IObjectArray also has these types of members:

Methods

The IObjectArray interface has these methods.

 
IObjectArray::GetAt

Provides a pointer to a specified object's interface. The object and interface are specified by index and interface ID.
IObjectArray::GetCount

Provides a count of the objects in the collection.

Remarks

When to Implement

Clients do not need to implement this interface.

When to Use

Use this interface to access generic objects in an array.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header objectarray.h