Share via


NSFileManager.TrashItem(NSUrl, NSUrl, NSError) Method

Definition

[Foundation.Export("trashItemAtURL:resultingItemURL:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool TrashItem(Foundation.NSUrl url, out Foundation.NSUrl resultingItemUrl, out Foundation.NSError error);
[<Foundation.Export("trashItemAtURL:resultingItemURL:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member TrashItem : Foundation.NSUrl * NSUrl * NSError -> bool
override this.TrashItem : Foundation.NSUrl * NSUrl * NSError -> bool

Parameters

url
NSUrl
resultingItemUrl
NSUrl
error
NSError

Returns

Attributes

Applies to