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

AVEVA™ Plant SCADA

ITrendCursor​.Delete [Method]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Deletes the cursor.

Defined As

  • [VBA] Delete()

  • [Cicode] Delete()

  • [C++] HRESULT Delete()

Execution Result

If the function succeeds, the return value will be Success. If the cursor is deleted, the return value will be GeneralFailure.

Remarks

This method will remove the cursor from the Process Analyst. Any current references to the cursor will continue to be valid; however, operations on them will result in errors.

Calling Syntax

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

[VBA]

Sub Example(cursor As Object)
cursor.Delete
End Sub

[Cicode]

FUNCTION Example(OBJECT hCursor)
_ObjectCallMethod(hCursor, "Delete");
END

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