NSFileManager.Remove Método

Definición

Sobrecargas

Remove(String, NSError)
Remove(NSUrl, NSError)

Intenta quitar el elemento en la dirección URL especificada, devolviendo éxito o error y estableciendo el parámetro error.

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

Parámetros

path
String

Se agregará.

Este parámetro puede ser null.

error
NSError

Devoluciones

Atributos

Se aplica a

Remove(NSUrl, NSError)

Intenta quitar el elemento en la dirección URL especificada, devolviendo éxito o error y estableciendo el parámetro error.

[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

Parámetros

url
NSUrl

Se agregará.

Este parámetro puede ser null.

error
NSError

Devoluciones

Atributos

Se aplica a