NSFileManager.CreateDirectory Method
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.
CreateDirectory(String, Boolean, NSFileAttributes, NSError) | |
CreateDirectory(String, Boolean, NSDictionary, NSError) | |
CreateDirectory(String, Boolean, NSFileAttributes) | |
CreateDirectory(NSUrl, Boolean, NSDictionary, NSError) |
Attemps to create the specified directory, returning success or failure. |
public bool CreateDirectory (string path, bool createIntermediates, Foundation.NSFileAttributes attributes, out Foundation.NSError error);
member this.CreateDirectory : string * bool * Foundation.NSFileAttributes * -> bool
Parameters
- path
- String
- createIntermediates
- Boolean
- attributes
- NSFileAttributes
- error
- NSError
Returns
Applies to
[Foundation.Export("createDirectoryAtPath:withIntermediateDirectories:attributes:error:")]
public virtual bool CreateDirectory (string path, bool createIntermediates, Foundation.NSDictionary attributes, out Foundation.NSError error);
abstract member CreateDirectory : string * bool * Foundation.NSDictionary * -> bool
override this.CreateDirectory : string * bool * Foundation.NSDictionary * -> bool
Parameters
- path
- String
- createIntermediates
- Boolean
- error
- NSError
Returns
- Attributes
Applies to
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
Attemps to create the specified directory, returning success or failure.
[Foundation.Export("createDirectoryAtURL:withIntermediateDirectories:attributes:error:")]
public virtual bool CreateDirectory (Foundation.NSUrl url, bool createIntermediates, Foundation.NSDictionary attributes, out Foundation.NSError error);
abstract member CreateDirectory : Foundation.NSUrl * bool * Foundation.NSDictionary * -> bool
override this.CreateDirectory : Foundation.NSUrl * bool * Foundation.NSDictionary * -> bool
Parameters
- url
- NSUrl
- createIntermediates
- Boolean
- error
- NSError
Returns
- Attributes