Properties.Item
Retrieves an individual Property object from the collection.
Syntax
Set <my_property> = <my_properties>.Item(<my_index>)
Parameters
<my_property>
The Property at position myIndex in the collection.
<my_properties>
An object of type Properties.
<my_index>
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 might prefer to test whether the Property object exists by iterating through the collection using the For Each keyword.
See also