NSFileManager.SetAttributes 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
| Name | Description |
|---|---|
| SetAttributes(NSFileAttributes, String) | |
| SetAttributes(NSDictionary, String, NSError) | |
| SetAttributes(NSFileAttributes, String, NSError) |
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