NSFileManager.Copy 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
Copy(NSUrl, NSUrl, NSError) |
Attempts to copy the data from the srcUrl to the dstUrl, returning success or failure and encoding error (if any) in error. |
Copy(String, String, NSError) |
Creates a copy of this object, allocating memory from the specified zone or from the default zone if the argument is null. |
Copy(NSUrl, NSUrl, NSError)
Attempts to copy the data from the srcUrl to the dstUrl, returning success or failure and encoding error (if any) in error.
[Foundation.Export("copyItemAtURL:toURL:error:")]
public virtual bool Copy (Foundation.NSUrl srcUrl, Foundation.NSUrl dstUrl, out Foundation.NSError error);
override this.Copy : Foundation.NSUrl * Foundation.NSUrl * -> bool
Parameters
- srcUrl
- NSUrl
- dstUrl
- NSUrl
- error
- NSError
Returns
- Attributes
Applies to
Copy(String, String, NSError)
Creates a copy of this object, allocating memory from the specified zone or from the default zone if the argument is null.
[Foundation.Export("copyItemAtPath:toPath:error:")]
public virtual bool Copy (string srcPath, string dstPath, out Foundation.NSError error);
override this.Copy : string * string * -> bool
Parameters
- srcPath
- String
- dstPath
- String
- error
- NSError
Returns
- Attributes