NSFileManager.TrashItem(NSUrl, NSUrl, NSError) 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.
[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