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

AVEVA™ Plant SCADA

IPanes​.Item [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the Pane at the given index in this Pane collection.

Defined As

  • [VBA] Item(index As Long) as Object

  • [Cicode] OBJECT Item(INT index)

  • [C++] Item(int index, IPane* Item)

Parameters

index

[in] Indicates the location of the Pane item to return from this collection. (One based)

Execution Result

If the property get succeeds the return value will be Success. If the index is out of range then the return value will be InvalidArgument. If the panes collection is deleted the return value will be GeneralFailure.

Calling Syntax

This example assumes there is a valid Panes collection object to be passed into the example methods.

[VBA]

Sub Example(Panes As Object)
Dim pane As Object
`Getting Property value
Set pane = Panes.Item(1)
End Sub

[Cicode]

FUNCTION Example(OBJECT hPanes)
// Getting property value
OBJECT hPane = _ObjectCallMethod(hPanes, "get_Item", 1);
END

See Also

IPane Interface

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