NSFileManager.CreateDirectory 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
CreateDirectory(String, Boolean, NSFileAttributes, NSError)
public bool CreateDirectory(string path, bool createIntermediates, Foundation.NSFileAttributes? attributes, out Foundation.NSError error);
member this.CreateDirectory : string * bool * Foundation.NSFileAttributes * NSError -> bool
Parameters
- path
- String
- createIntermediates
- Boolean
- attributes
- NSFileAttributes
- error
- NSError
Returns
Applies to
CreateDirectory(String, Boolean, NSDictionary, NSError)
[Foundation.Export("createDirectoryAtPath:withIntermediateDirectories:attributes:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool CreateDirectory(string path, bool createIntermediates, Foundation.NSDictionary? attributes, out Foundation.NSError error);
[<Foundation.Export("createDirectoryAtPath:withIntermediateDirectories:attributes:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateDirectory : string * bool * Foundation.NSDictionary * NSError -> bool
override this.CreateDirectory : string * bool * Foundation.NSDictionary * NSError -> bool
Parameters
- path
- String
- createIntermediates
- Boolean
- attributes
- NSDictionary
- error
- NSError
Returns
- Attributes
Applies to
CreateDirectory(String, Boolean, NSFileAttributes)
public bool CreateDirectory(string path, bool createIntermediates, Foundation.NSFileAttributes? attributes);
member this.CreateDirectory : string * bool * Foundation.NSFileAttributes -> bool
Parameters
- path
- String
- createIntermediates
- Boolean
- attributes
- NSFileAttributes
Returns
Applies to
CreateDirectory(NSUrl, Boolean, NSDictionary, NSError)
[Foundation.Export("createDirectoryAtURL:withIntermediateDirectories:attributes:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool CreateDirectory(Foundation.NSUrl url, bool createIntermediates, Foundation.NSDictionary? attributes, out Foundation.NSError error);
[<Foundation.Export("createDirectoryAtURL:withIntermediateDirectories:attributes:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateDirectory : Foundation.NSUrl * bool * Foundation.NSDictionary * NSError -> bool
override this.CreateDirectory : Foundation.NSUrl * bool * Foundation.NSDictionary * NSError -> bool
Parameters
- url
- NSUrl
- createIntermediates
- Boolean
- attributes
- NSDictionary
- error
- NSError
Returns
- Attributes