Düzenle

Aracılığıyla paylaş


NSFileManager.Remove Method

Definition

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

path
String

To be added.

This parameter can be null.

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

url
NSUrl

To be added.

This parameter can be null.

error
NSError

Returns

Attributes

Applies to