IObjectCol2 Interface

Meta Data Services Programming

Meta Data Services Programming

IObjectCol2 Interface

This interface exposes methods that enable you to control the load status of an object collection. The IObjectCol2 interface also inherits the methods of the IObjectCol interface.

When to Use

Use the IObjectCol2 interface to:

  • Obtain the load status of an object collection.

  • Cancel the load operation of an object collection.
Methods
IUnknown Method Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.

IDispatch Method Description
GetIDsOfNames Maps a single member and a set of argument names to a corresponding set of dispatch identifiers.
GetTypeInfo Retrieves a type information object, which can be used to get the type information for an interface.
GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Invoke Provides access to properties and methods exposed by an Automation object.

IObjectCol Method Description
get_Count Retrieves a count of the number of objects in the collection.
get_Item Retrieves an IRepositoryObject interface pointer for the specified collection object.
_NewEnum Retrieves an enumeration interface pointer for the collection.
Refresh Refreshes the cached image of the object collection.

IObjectCol2 Method Description
get_LoadStatus Obtains the load status of the collection.
Cancel Requests the cancellation of the ongoing load operation.

See Also

IObjectCol

IRepositoryObject Interface

ITargetObjectCol Interface

ObjectCol Class