Using the Process Analyst > Process Analyst for Developers > Automation Model > IObjectViewItem.Items [Property][Get]

IObjectViewItem.Items [Property][Get]

Gets the automation object representing the collection of child items under this item.

Defined As

Execution Result

If the property get succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument.

Remarks

Pane nodes are currently the only nodes that can have children.

Calling Syntax

This example assumes there is a valid item as retrieved from an ObjectView. (for example, VBA: objectView.Items.Item(1). This will be a pane).

[VBA]

Sub Example(objectViewItem As Object)
Dim items As Object
`Getting Property value
Set items = objectViewItem.Items
End Sub

[Cicode]

FUNCTION Example(OBJECT hObjectViewItem)
// Getting property value
OBJECT hItems = _ObjectGetProperty(hObjectViewItem, "Items");
END