Workspace Contents Collection

Meta Data Services Programming

Meta Data Services Programming

Workspace Contents Collection

This collection contains all repository object versions present in the workspace.

Syntax

Set variable  =  object.Contents(index)
Set
variable  =  object.Contents(objectID)

The Contents collection syntax has the following parts.

Part Description
variable A variable declared as a RepositoryObjectVersion object. It receives the specified object version.
object An object expression that evaluates to a Workspace object.
index An integer index that identifies which item in the collection is to be addressed. The valid range is from one to the number of elements in the collection. The number of elements in the collection is specified by object.Contents.Count. For more information, see Selecting Items in a Collection.
objectID An object identifier of the object version present in the workspace.

See Also

Object Identifiers and Internal Identifiers

RepositoryObjectVersion

Workspace Object