This method removes a specified object from a transient object collection.
Call object.Remove(index)
Call object.Remove(objName)
Call object.Remove(objID)
The Remove method syntax has the following parts.
| Part | Description |
|---|---|
| object | The object collection created by TransientObjectCol. |
| index | The index of the object to be removed from the collection. For more information, see Selecting Items in a Collection. |
| objName | The object that uses this name for its destination object is to be removed from the collection. |
| objID | The object identifier of the object to be removed from the collection. |
This property removes a specific repository object from the collection. You can identify an object by its position in the collection (as indicated by the index) or by identifier.