VersionCol Add Method

See Also

This method is used to add a new item to a relationship collection, when the sequencing of relationships in the collection is not important. The new relationship connects the reposObj object version to the source object version of the collection. The new relationship is passed back to the caller.

Syntax

Set variable = object.Add( reposVersion )

The Add method syntax has the following parts.

Part Description
variable A variable declared as a RepositoryObjectVersion object. Receives the object version that is added to the collection.
object The version collection.
reposVersion The Repository object version to be added to the collection.

Remarks

There are many different kinds of object-version collections. You can apply this method to some of them, but not to others. This method works for:

This method does not work for: