Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

ITrendCursor​.Collection [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

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

Defined As

  • [VBA] Object Collection

  • [Cicode] OBJECT Collection

  • [C++] HRESULT Collection(ICursors **cursor)

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

In This Topic
TitleResults for “How to create a CRG?”Also Available in