Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Item Property (DEDesigner Extensibility)
See Also Example Applies To
Returns a specific member of a collection object either by position or by key.
Syntax
object.Item(index)
The Item property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an item in the Applies To list. |
index | Required. An expression that specifies the ordinal position, key, or the name of the returning collection object. For more information, see Visual Basic's Item property. |
Remarks
If the value provided as index doesnt match any existing member of the collection, an error occurs.
Item is the default property for a collection. Therefore, the following lines of code are equivalent.
Print MyCollection(1)
Print MyCollection.Item(1)