Gets the Pane at the given index in this Pane collection.
Defined As
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.
See Also
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