NSFileManager.Move Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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