Share via


NSFileManager.Move メソッド

定義

オーバーロード

Move(NSUrl, NSUrl, NSError)

ファイルを srcUrl から dstUrl に同期的に移動し、成功または失敗を返し、error パラメーターを設定します。

Move(String, String, NSError)

Move(NSUrl, NSUrl, NSError)

ファイルを srcUrl から dstUrl に同期的に移動し、成功または失敗を返し、error パラメーターを設定します。

[Foundation.Export("moveItemAtURL:toURL:error:")]
public virtual bool Move (Foundation.NSUrl srcUrl, Foundation.NSUrl dstUrl, out Foundation.NSError error);
abstract member Move : Foundation.NSUrl * Foundation.NSUrl *  -> bool
override this.Move : Foundation.NSUrl * Foundation.NSUrl *  -> bool

パラメーター

srcUrl
NSUrl
dstUrl
NSUrl
error
NSError

戻り値

属性

適用対象

Move(String, String, NSError)

[Foundation.Export("moveItemAtPath:toPath:error:")]
public virtual bool Move (string srcPath, string dstPath, out Foundation.NSError error);
abstract member Move : string * string *  -> bool
override this.Move : string * string *  -> bool

パラメーター

srcPath
String
dstPath
String
error
NSError

戻り値

属性

適用対象