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

IToolbarButtons.Count [Property][Get]

Gets the number of Buttons in this collection.

Defined As

Calling Syntax

This example assumes there is a valid ToolbarButtons collection as retrieved from an ObjectView. (for example, VBA: objectView.Toolbars.Item(1).Buttons).

[VBA]

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

[Cicode]

FUNCTION Example(OBJECT hButtons)
// Getting property value
INT nCount = _ObjectGetProperty(hButtons, "Count");
END