Using the Process Analyst > Process Analyst for Developers > Automation Model > IObjectViewItems.Count [Property][Get]

IObjectViewItems.Count [Property][Get]

Gets the number 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.

Calling Syntax

This example assumes there is a valid Items collection as retrieved from an ObjectView. (for example, VBA: objectView.Items)


Sub Example(Items As Object)
Dim count As Long
`Getting Property value
count = Items.Count
End Sub


// Getting property value
INT nCount = _ObjectGetProperty(hItems, "Count");