FindMaster Method

Searches for a master object in the master object collection of the library.

Applies to: Library object

Syntax

[[Let] index =] object.FindMaster ( masterObj )

The FindMaster method syntax has these parts:

Part Description
object Required. An expression that returns a Library object.
masterObj Required. An expression that returns a Master object. The library object to be found.
index Optional. A Long type variable.

Remarks

If the search has been successful, the FindMaster method returns the index of the specified master object in the master object collection of the library. Otherwise the method returns 0. An inverse method for this method is the Master method, which returns a master object by its index in the master object collection of the library.

 

See Also

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