Using the Process Analyst > Process Analyst for Developers > Automation Model > IPanes.ItemByName [Property][Get]

IPanes.ItemByName [Property][Get]

Returns a reference to the pane object with the given name from this Panes collection.

Defined As



[in] Indicates the name of the Pane item to return from this collection.

Execution Result

If the property get succeeds, the return value will be Success. If the pane cannot be found, 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.


Sub Example(Panes As Object)
Dim pane As Object
`Getting Property value
Set pane = Panes.ItemByName("Alarm Pane")
End Sub


// Getting property value
OBJECT hPane = _ObjectCallMethod(hPanes, "get_ItemByName", "Alarm Pane");