NSFileManager.SetAttributes Método

Definição

Sobrecargas

SetAttributes(NSFileAttributes, String)
SetAttributes(NSDictionary, String, NSError)

Tenta definir os atributos do arquivo no caminho especificado, retornando êxito ou falha e definindo o parâmetro de erro.

SetAttributes(NSFileAttributes, String, NSError)

SetAttributes(NSFileAttributes, String)

public bool SetAttributes (Foundation.NSFileAttributes attributes, string path);
member this.SetAttributes : Foundation.NSFileAttributes * string -> bool

Parâmetros

attributes
NSFileAttributes
path
String

Retornos

Aplica-se a

SetAttributes(NSDictionary, String, NSError)

Tenta definir os atributos do arquivo no caminho especificado, retornando êxito ou falha e definindo o parâmetro de erro.

[Foundation.Export("setAttributes:ofItemAtPath:error:")]
public virtual bool SetAttributes (Foundation.NSDictionary attributes, string path, out Foundation.NSError error);
abstract member SetAttributes : Foundation.NSDictionary * string *  -> bool
override this.SetAttributes : Foundation.NSDictionary * string *  -> bool

Parâmetros

attributes
NSDictionary
path
String
error
NSError

Retornos

Atributos

Aplica-se a

SetAttributes(NSFileAttributes, String, NSError)

public bool SetAttributes (Foundation.NSFileAttributes attributes, string path, out Foundation.NSError error);
member this.SetAttributes : Foundation.NSFileAttributes * string *  -> bool

Parâmetros

attributes
NSFileAttributes
path
String
error
NSError

Retornos

Aplica-se a