NSFileManager.Remove 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
Remove(String, NSError) | |
Remove(NSUrl, NSError) |
Attempts to remove the item at the specified url, returning success or failure and setting the error parameter. |
Remove(String, NSError)
[Foundation.Export("removeItemAtPath:error:")]
public virtual bool Remove (string path, out Foundation.NSError error);
abstract member Remove : string * -> bool
override this.Remove : string * -> bool
Parameters
- error
- NSError
Returns
- Attributes
Applies to
Remove(NSUrl, NSError)
Attempts to remove the item at the specified url, returning success or failure and setting the error parameter.
[Foundation.Export("removeItemAtURL:error:")]
public virtual bool Remove (Foundation.NSUrl url, out Foundation.NSError error);
abstract member Remove : Foundation.NSUrl * -> bool
override this.Remove : Foundation.NSUrl * -> bool
Parameters
- error
- NSError
Returns
- Attributes