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

ICommandSystem.Count [Property][Get]

Gets the number of commands in the command system.

Defined As

Execution Result

If the property get succeeds, the return value will be Success.

Calling Syntax

This example assumes there is a valid CommandSystem object as retrieved from a Process Analyst. (for example, VBA: ProcessAnalyst.CommandSystem).

[VBA]

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

[Cicode]

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