NSFileManager.CreateFile 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
CreateFile(String, NSData, NSDictionary) |
Attempts to create the specified file, with the specified data and attributes, returning success or failure. |
CreateFile(String, NSData, NSFileAttributes) |
CreateFile(String, NSData, NSDictionary)
Attempts to create the specified file, with the specified data and attributes, returning success or failure.
[Foundation.Export("createFileAtPath:contents:attributes:")]
public virtual bool CreateFile (string path, Foundation.NSData data, Foundation.NSDictionary attr);
abstract member CreateFile : string * Foundation.NSData * Foundation.NSDictionary -> bool
override this.CreateFile : string * Foundation.NSData * Foundation.NSDictionary -> bool
Parameters
- path
- String
- data
- NSData
Returns
- Attributes
Applies to
CreateFile(String, NSData, NSFileAttributes)
public bool CreateFile (string path, Foundation.NSData data, Foundation.NSFileAttributes attributes);
member this.CreateFile : string * Foundation.NSData * Foundation.NSFileAttributes -> bool
Parameters
- path
- String
- data
- NSData
- attributes
- NSFileAttributes