Counters.Item property

Retrieves the specified CounterItem instance from the collection.

This property is read-only.

Syntax

Property Item( _
  ByVal index As Object _
) As CounterItem

Property value

CounterItem instance that corresponds to the specified index value.

Exceptions

Exception type Condition
System.Runtime.InteropServices.COMException The specified index is not valid.

Remarks

This is the default property of the Counters object.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
DLL
Sysmon.ocx

See also

CounterItem

Counters