WshCollection Object

The WshCollection object is not exposed directly. For access to it, use WshNetwork.EnumNetworkDrives or WshNetwork.EnumPrinterConnections.

ProgID N/A
File name WSHom.Ocx
CLSID F935DC24-1CF0-11d0-ADB9-00C04FD58A0B
IID F935DC23-1CF0-11d0-ADB9-00C04FD58A0B

The following table describes the properties associated with the WshCollection object.

Property Description
Item Provides the nth enumerated item as a string.
Count The number of enumerated items.
length The number of enumerated items (JScript).