Workspace Properties Collection

Meta Data Services Programming

Meta Data Services Programming

Workspace Properties Collection

This collection contains all persistent properties and collections that are attached to an object through a particular interface. The Workspace object exposes three separate Properties collections. These collections are exposed by:

  • The IWorkspace interface (the default).

  • The IRepositoryObjectVersion interface.

  • The INamedObject interface.
Syntax

Set variable  =  object.Properties(index)

The Properties collection syntax has the following parts.

Part Description
variable A variable declared as a ReposProperty object. It receives the specified property.
object An object expression; it evaluates to an object that exposes IWorkspace, IRepositoryObjectVersion, or INamedObject as the default interface.
index An integer index that identifies which property 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.Properties.Count.

Remarks

For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.

See Also

INamedObject Interface

RepositoryObjectVersion Object

ReposProperty Object

Workspace Object