Properties.Item
Retrieves an individual Property object from the collection.
Syntax
Set myProperty = myProperties.Item(myIndex)
Parameters
myProperty
The Property at position myIndex in the collection.
myProperties
An object of type Properties.
myIndex
An expression that specifies the position of a Property in the collection. If a numeric expression, it must be a number from 1 to the value of the collection's Count property. If a string expression, it must be the Property.Name property.
Remarks
The script gives an exception if you use this method when the Property object does not exist. Using On Error Resume Next can stop the script from failing. However, you may prefer to test whether the Property object exists by iterating through the collection using the For Each keyword.
See also