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

IToolbars.Count [Property][Get]

Gets the number of Toolbars in this collection.

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 Toolbars collection as retrieved from an ObjectView. (for example, VBA: objectView.Toolbars).

[VBA]

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

[Cicode]

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