UtilDirectoryRename Method
Renames a directory.
Namespace: DevCase.Core.IO.FileSystemAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void Rename(
string sourceDirPath,
string targetDirName
)
Public Shared Sub Rename (
sourceDirPath As String,
targetDirName As String
)
Dim sourceDirPath As String
Dim targetDirName As String
UtilDirectory.Rename(sourceDirPath, targetDirName)
public:
static void Rename(
String^ sourceDirPath,
String^ targetDirName
)
static member Rename :
sourceDirPath : string *
targetDirName : string -> unit
No code example is currently available or this language may not be supported.
Parameters
- sourceDirPath String
-
The source directory path.
- targetDirName String
-
The target directory name.
This is a code example.
No code example is currently available or this language may not be supported.
Rename("C:\Directory\", "new directory name")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
DirectoryNotFoundException
|
Source directory not found.
|