DriversCount Property (ASystem)

Returns the number of driver shortcut objects in the object.

Syntax

[ lDriversCount = ] Object.DriversCount

The DriversCount property syntax has the following parts:

 

Name

Type

Description

Object

ASystem

ASystem object

lDriversCount

Long

An integer specifying the number of ADriver shortcut objects in the object. The default value is 0.

Comments

The DriversCount property returns the number of drivers no matter if one of them are missing.

Example

The following statement shows how to retrieve the number of drivers in the system:

print "The system contains "; System.DriversCount; " drivers"

Applies to

ASystem

See Also

Drivers