IRepositoryObjectVersion Interface

See Also

A Repository object version is a particular rendition of a Repository object. Each version of an object can differ from other versions of that object in its property values and collections.

When to Use

Use the IRepositoryObjectVersion interface to manipulate any version of an object, including the original version which was established with IRepository::CreateObject.

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.

IrepositoryDispatch Method Description
get_Properties Retrieves the IReposProperties interface pointer. The IReposProperties interface provides access to the Properties collection.

IrepositoryItem Method Description
Delete Deletes a Repository item.
get_Interface Retrieves an interface pointer to the specified item interface.
get_Name Retrieves the name associated with an item.
get_Repository Retrieves the IRepository interface pointer for an item's open Repository instance.
get_Type Retrieves the type of an item.
Lock Locks the item.
put_Name Sets the name associated with an item.

IrepositoryObject Method Description
get_InternalID Retrieves the internal identifier for a Repository object.
get_ObjectID Retrieves the object identifier for a Repository object.

IrepositoryObjectVersion Method Description
CreateVersion Creates a new version of an object as a successor to the current object version.
FreezeVersion Disallows further modification of the (non-annotational) property values or origin collections of the current object version.
get_IsFrozen Determines whether the current object version is frozen.
get_ObjectVersions Retrieves an interface pointer to the collection of all versions of the current object.
get_PredecessorCreationVersion Retrieves an interface pointer to the predecessor object version from which the current object version was created.
get_PredecessorVersions Retrieves an interface pointer to the collection of all predecessor versions of the current object version.
get_ResolutionType Returns an indication of which resolution technique the Repository used in returning the particular version of the current object to you.
get_SuccessorVersions Retrieves an interface pointer to the collection of all successor versions of the current object version.
get_VersionID Retrieves the object-version identifier of the current object version.
get_VersionInternalID Retrieves the internal object-version identifier of the current object version.
IsVersionOfSameItemAs Determines whether the current object version and another object version are versions of the same Repository object.
MergeVersion Changes the current object version by combining its property values and collections with another object version's.