Share via


HierarchyRenameEventArgs.Label Property

Definition

Gets or sets the new node name that is associated with the page.

public:
 property System::String ^ Label { System::String ^ get(); void set(System::String ^ value); };
public string Label { get; set; }
member this.Label : string with get, set
Public Property Label As String

Property Value

The name of the node after the event, or null if the user pressed ESC to cancel the rename operation or pressed ENTER without modifying the node text.

Remarks

The value of the Label property is displayed in the Connections pane of IIS Manager and is associated with the page that called the Microsoft.Web.Management.Client.HierarchyInfo.OnRenamed or Microsoft.Web.Management.Client.HierarchyInfo.OnRenaming method that uses the HierarchyRenameEventArgs object.

The value of this property is null if the user presses ESC to cancel the rename operation or presses ENTER without modifying the node text. If the user edits the label text, the value of this property is the new label text.

For an example of this property, see the example for the HierarchyRenameEventArgs class.

Applies to