Using the Process Analyst > Process Analyst for Developers > Automation Model > ITrendCursor.Collection [Property][Get]

ITrendCursor.Collection [Property][Get]

Obtain a reference to the ICursors collection that contains the cursor.

Defined As

Execution Result

If the property get/set succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. If the cursor is deleted, the return value will be GeneralFailure.

Calling Syntax

This example assumes you have a valid reference to a cursor.

[VBA]

Sub Example(cursor As Object)
Dim cursors As Object
`Getting Property collection
Set cursors = cursor.Collection
End Sub

[Cicode]

FUNCTION Example(OBJECT hCursor)
OBJECT hCursors;
// Getting collection
hCursors = _ObjectGetProperty(hCursor, "Collection");
END