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

AVEVA™ Plant SCADA

IObjectViewItem​.Items [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the automation object representing the collection of child items under this item.

Defined As

  • [VBA] Object Items

  • [Cicode] OBJECT Items

  • [C++] IObjectViewItems* Items

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.

Remarks

Pane nodes are currently the only nodes that can have children.

Calling Syntax

This example assumes there is a valid item as retrieved from an ObjectView. (for example, VBA: objectView.Items.Item(1). This will be a pane).

[VBA]

Sub Example(objectViewItem As Object)
Dim items As Object
`Getting Property value
Set items = objectViewItem.Items
End Sub

[Cicode]

FUNCTION Example(OBJECT hObjectViewItem)
// Getting property value
OBJECT hItems = _ObjectGetProperty(hObjectViewItem, "Items");
END

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