Home Cooker Classes Others Rice CookerGX
Classes  >  directory  >  MoveTo(string)
directory class : MoveTo(string) method

Description

Moves the directory to the specified path.

Syntax

directoryInstance.MoveTo(string destination)

Arguments

ClassNameDescription
stringdestinationPath of the destination.

Return value

None

Sample code

//anyDirectory is a instance of directory type.

anyDirectory.MoveTo("destination path");

Notes

It's a wrapper of the System.IO.DirectoryInfo.MoveTo(String).

Links for reference

Copyright © Rice All rights reserved.