<div class="meta" robots="noindex">

</div>

Method

# VolumeCount

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `FolderItem.DriveCount<folderitem.drivecount>` as a replacement.

</div>

## Description

Returns the number of mounted volumes.

## Usage

*result*=**VolumeCount**

| Part   | Type                               | Description                    |
|--------|------------------------------------|--------------------------------|
| result | `Integer</api/data_types/integer>` | The number of mounted volumes. |

## Notes

The <span class="title-ref">VolumeCount</span> function returns the number of mounted volumes.

## Compatibility

All project types on all supported operating systems.

## See also

`FolderItem.DriveAt<folderitem.driveat>` function.
