WorkspaceManager.RenameWorkspace(String, String) Method

Renames the target workspace.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public void RenameWorkspace(
    string oldName,
    string newName
)
Public Sub RenameWorkspace(
    oldName As String,
    newName As String
)

Parameters

Name Type Description
oldName String

A String value that is the name under which the workspace is currently stored in the WorkspaceManager.Workspaces collection.

newName String

A String value that is the new name for the workspace.

Remarks

The RenameWorkspace method affects the workspace name under which it appears within a WorkspaceManager.Workspaces collection. If the workspace was loaded from a file (see the WorkspaceManager.LoadWorkspace method), the file name is not affect by the RenameWorkspace method.

See Also