Edytuj

Udostępnij za pośrednictwem


NSFileManager.Move Method

Definition

Overloads

Move(NSUrl, NSUrl, NSError)

Synchronously attempts to move the file from srcUrl to dstUrl, returning success or failure and setting the error parameter.

Move(String, String, NSError)

Move(NSUrl, NSUrl, NSError)

Synchronously attempts to move the file from srcUrl to dstUrl, returning success or failure and setting the error parameter.

[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

Parameters

srcUrl
NSUrl
dstUrl
NSUrl
error
NSError

Returns

Attributes

Applies to

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

Parameters

srcPath
String
dstPath
String
error
NSError

Returns

Attributes

Applies to