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

IObjectViewColumns.Count [Property][Get]

Gets the number of Columns in this columns 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 Columns collection as retrieved from an ObjectView. (for example, VBA: ObjectView.Columns).


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


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