Editar

Compartilhar via


NSFileManager.CreateFile Method

Definition

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
attr
NSDictionary

To be added.

This parameter can be null.

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

Returns

Applies to