MoveTo()

FileInfo::MoveTo(const String&) method

Moves the file represented by the current object to the specified location.

void System::IO::FileInfo::MoveTo(const String &destFileName)

Arguments

ParameterTypeDescription
destFileNameconst String&The destination file name

See Also