Master Method

Returns an instance of the Master object corresponding to a master object with the specified index in the master object collection of the library.

Applies to: Library object

Syntax

[[Set] masterObj =] object.Master ( index )

The Master 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. Represents the index of the master object.
masterObj Optional. A Master type variable.

Remarks

If index is less than 1 or greater than the number of master objects in the library, the Master method returns Null. The number of the master objects in the library can be found out with the MastersNum method. The inverse method to this one is the FindMaster method, which returns the index of the master object in the master object collection of the library.

 

See Also

AddMaster method, FindMaster method, Master method, MasterByName method, MastersNum method, RemoveMaster method, RemoveMasterByName method