System::IO::Directory::Move method

Directory::Move method

Moves the specified entity to the new location. If the entity to move is a directory, it is moved with all its content.

static void System::IO::Directory::Move(const String &sourceDirName, const String &destDirName)
ParameterTypeDescription
sourceDirNameconst String&A directory or file to move
destDirNameconst String&The new location of sourceDirName

See Also