Skip to main content

WorkspaceManager.RenameWorkspace(String, String) Method

Renames the target workspace.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public void RenameWorkspace(
    string oldName,
    string newName
)

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