Use this property to obtain a view of the Repository object version that uses an alternate interface as the default interface. This is a read-only property. There are three variations of this property.
Set variable = object.Interface(interfaceId)
Set variable = object.Interface(objectId)
Set variable = object.Interface(interfaceName)
The Interface property syntax has the following parts.
Part | Description |
Variable | An object variable. Receives the Repository object with the specified interface as the default interface. |
Object | An object expression that evaluates to a RepositoryObjectVersion object. |
InterfaceId | The interface identifier for the interface to be retrieved. |
ObjectId | The object identifier for the interface definition to which the interface to be retrieved conforms. |
InterfaceName | A string containing the name of the interface to be retrieved. |