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

AVEVA™ Plant SCADA

IObjectViewColumns​.Item [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the ObjectViewItem at a supplied index location in this collection.

Defined As

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

  • [Cicode] OBJECT Item(INT index)

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

Parameters

index

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

Calling Syntax

This example assumes there is a valid Columns collection as retrieved from an ObjectView (for example, VBA: objectView.Columns).

[VBA]

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

[Cicode]

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

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