Compartir a través de


ScopeNode.OnRename Method (String, SyncStatus)

 

Changes the name of the scope node when the Rename verb is triggered.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

protected virtual void OnRename(
    string newText,
    SyncStatus status
)
protected:
virtual void OnRename(
    String^ newText,
    SyncStatus^ status
)
abstract OnRename : 
        newText:string *
        status:SyncStatus -> unit
override OnRename : 
        newText:string *
        status:SyncStatus -> unit
Protected Overridable Sub OnRename (
    newText As String,
    status As SyncStatus
)

Parameters

  • newText
    Type: System.String

    The text for the new name of the scope node.

See Also

StandardVerbs
ScopeNode Class
Microsoft.ManagementConsole Namespace
How-To Use Standard Verbs

Return to top