Share via


NSFileManager.Copy Method

Definition

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

Applies to