Chapter 2 -- 133
Reference Guide
Counters Collection
Properties Methods
Application Add
Count Item (Default)
Parent Remove
"
""
" Counters.Count
Returns the number of items in the specified collection.
Access Read-Only.
Type VT_I2orInteger
.
"
""
" Counters.Application
This property returns the Application
object that represents the
root object of the hierarchy.
Access Read-Only.
Type VT_DISPATCH or Application
object.
"
""
" Counters.Parent
Returns the parent object of the specified object.
Access Read-Only.
Type VT_DISPATCH.
"
""
" Counters.Add
VTS_DISPATCH or Counter
Add( strCounterName ).
Adds a new Counter
object to the collection.
Return value: Returns a Counter
object.
Parameters:
strCounterName Optional VT_BSTR o r String
.Thenameof
the object to add.
Object
Properties
Object
Methods