Back to Devexpress

WorkspaceManager.RenameWorkspace(String, String) Method

windowsforms-devexpress-dot-utils-dot-workspacemanager-dot-renameworkspace-x28-system-dot-string-system-dot-string-x29.md

latest2.1 KB
Original Source

WorkspaceManager.RenameWorkspace(String, String) Method

Renames the target workspace.

Namespace : DevExpress.Utils

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

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

Parameters

NameTypeDescription
oldNameString

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

Workspaces

LoadWorkspace

WorkspaceManager Class

WorkspaceManager Members

DevExpress.Utils Namespace