MastersNum Method

Returns the number of master objects in the library.

Applies to: Library object

Syntax

[[Let] count =] object.MastersNum ()

The MastersNum method syntax has these parts:

Part Description
object Required. An expression, that returns a Library object.
count Optional. A Long type variable.

Remarks

If there are no master objects in the library, the MastersNum method returns 0. It's convenient to use this method together with the Master method to go through all master objects in a library.

 

See Also

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