IObjectViewItems.Item [Property][Get]
- Last UpdatedJul 18, 2023
- 1 minute read
Gets the ObjectViewItem at a supplied index location in this collection.
Defined As
-
[VBA] Item(index As Long) as Object
-
[Cicode] OBJECT Item(INT index)
-
[C++] Item(int index, IObjectViewItem* Item)
Parameters
index
[in] Indicates the index location of the child item to return from this collection. (One based)
Calling Syntax
This example assumes there is a valid Items collection as retrieved from an ObjectView. (for example, VBA: objectView.Items).
[VBA]
Sub Example(Items As Object)
Dim item As Object
`Getting Property value
Set item = Items.Item(1)
End Sub
[Cicode]
FUNCTION Example(OBJECT hItems)
// Getting property value
OBJECT hItem = _ObjectCallMethod(hItems, "get_Item", 1);
END