IVersionCol Interface

See Also

A version collection is a collection of object versions. There are several different version collections you can establish:

When to Use

Use the IVersionCol interface to manage the contents of a workspace, to manage the target object versions of a versioned relationship, to navigate an object’s version graph, or to manipulate all the versions of a particular object.

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.

IVersionCol Method Description
Add Adds an object version to the collection.
get_Count Returns the number of items in the collection.
get_Item Returns an interface pointer to an item of the collection.
_NewEnum Retrieves an enumeration interface pointer for the collection.
Refresh Refreshes the cached image of the collection.
Remove Removes an object version from the collection.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.