directory クラス : MoveTo(string) メソッド
説明
ディレクトリを指定されたパスに移動します。
構文
directoryInstance.MoveTo(string destination)
引数
| クラス | 名前 | 説明 |
| string | destination | 移動先のパス。 |
返り値
無し。
サンプルコード
| 1: | directory dir = new directory("c:\somewhere..."); |
| 2: | dir.MoveTo("c:\destinationpath..."); |
注意
これは、System.IO.DirectoryInfo.MoveTo(String) メソッドのラッパーです。


