Modifier

Partager via


NSFileManager.TrashItem(NSUrl, NSUrl, NSError) Method

Definition

[Foundation.Export("trashItemAtURL:resultingItemURL:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool TrashItem (Foundation.NSUrl url, out Foundation.NSUrl resultingItemUrl, out Foundation.NSError error);
[Foundation.Export("trashItemAtURL:resultingItemURL:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool TrashItem (Foundation.NSUrl url, out Foundation.NSUrl resultingItemUrl, out Foundation.NSError error);
abstract member TrashItem : Foundation.NSUrl *  *  -> bool
override this.TrashItem : Foundation.NSUrl *  *  -> bool

Parameters

url
NSUrl
resultingItemUrl
NSUrl
error
NSError

Returns

Attributes

Applies to