Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Count property gets the number of Storage objects in the collection.
This property is read-only.
Syntax
Count = storagesCollection.Count
Property value
The read-only number of Storage objects in the collection.
Examples
The following JScript example uses storagesCollection.Count to enumerate a collection of storages and access them by index.
// Retrieve a collection of storages from the device.
var storages = deviceObject.Storages;
// Enumerate the storages in the collection and access them by index.
for (i=0; i < storages.Count; i++)
{
var aStorage = storages[i];
}
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |