Share via


NSFileManager.SetAttributes Method

Definition

Overloads

SetAttributes(NSFileAttributes, String)

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

Parameters

attributes
NSFileAttributes
path
String

Returns

Applies to

SetAttributes(NSDictionary, String, NSError)

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

Parameters

attributes
NSDictionary
path
String
error
NSError

Returns

Attributes

Applies to

SetAttributes(NSFileAttributes, String, NSError)

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

Parameters

attributes
NSFileAttributes
path
String
error
NSError

Returns

Applies to