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)
[Foundation.Export("copyItemAtURL:toURL:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Copy(Foundation.NSUrl srcUrl, Foundation.NSUrl dstUrl, out Foundation.NSError error);
[<Foundation.Export("copyItemAtURL:toURL:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.Copy : Foundation.NSUrl * Foundation.NSUrl * NSError -> bool
Parameters
- srcUrl
- NSUrl
- dstUrl
- NSUrl
- error
- NSError
Returns
- Attributes
Applies to
Copy(String, String, NSError)
[Foundation.Export("copyItemAtPath:toPath:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Copy(string srcPath, string dstPath, out Foundation.NSError error);
[<Foundation.Export("copyItemAtPath:toPath:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.Copy : string * string * NSError -> bool
Parameters
- srcPath
- String
- dstPath
- String
- error
- NSError
Returns
- Attributes