Removes a master object with the specified index from the master object collection of the library, and returns the number of remaining master objects.
Applies to: Library object
[[Let] count =] object.RemoveMaster ( index ) |
The RemoveMaster method syntax has these parts:
Part | Description |
object | Required. An expression that returns a Library object. |
index | Required. An expression that returns a Long value. The index of the master object to be deleted. |
count | Optional. A Long type variable. |
If index is less than 1, or greater than the number of master objects in the master object collection of the library, the RemoveMaster method doesn't remove the master object. When a master object is removed, the remaining master objects are re-indexed - that is, the index of every master object after the removed one is decreased by 1.
See Also |
AddMaster method, FindMaster method, Master method, MasterByName method, MastersNum method, RemoveMaster method, RemoveMasterByName method |