Using the Process Analyst > Process Analyst for Developers > Automation Model > IPane.Name [Property][Get/Set]

IPane.Name [Property][Get/Set]

Gets or Sets the name of this pane.

Defined As

Execution Result

If the property get/set succeeds, the return value will be Success. If a pane of the same name exists, the return value will be InvalidArgument. If the panes collection is deleted, the return value will be GeneralFailure.

Limits

Name needs to be between 1-250 characters.

Remarks

Pane names needs to be unique.

Calling Syntax

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

[VBA]

Sub Example(pane As Object)
Dim name As String
`Getting Property value
name = pane.Name
`Setting Property value
pane.Name = "Alarms"
End Sub

[Cicode]

FUNCTION Example(OBJECT hPane)
// Getting property value
STRING sName = _ObjectGetProperty(hPane, "Name");
// Setting property value
_ObjectSetProperty(hPane, "Name", "Alarms");
END