Condividi tramite


NSFileManager.CreateDirectory Metodo

Definizione

Overload

CreateDirectory(String, Boolean, NSFileAttributes, NSError)
CreateDirectory(String, Boolean, NSDictionary, NSError)
CreateDirectory(String, Boolean, NSFileAttributes)
CreateDirectory(NSUrl, Boolean, NSDictionary, NSError)

Attemps per creare la directory specificata, restituendo esito positivo o negativo.

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 *  -> bool

Parametri

path
String
createIntermediates
Boolean
attributes
NSFileAttributes
error
NSError

Restituisce

Si applica a

CreateDirectory(String, Boolean, NSDictionary, NSError)

[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

Parametri

path
String
createIntermediates
Boolean
attributes
NSDictionary

Da aggiungere.

Questo parametro può essere null.

error
NSError

Restituisce

Attributi

Si applica a

CreateDirectory(String, Boolean, NSFileAttributes)

public bool CreateDirectory (string path, bool createIntermediates, Foundation.NSFileAttributes attributes);
member this.CreateDirectory : string * bool * Foundation.NSFileAttributes -> bool

Parametri

path
String
createIntermediates
Boolean
attributes
NSFileAttributes

Restituisce

Si applica a

CreateDirectory(NSUrl, Boolean, NSDictionary, NSError)

Attemps per creare la directory specificata, restituendo esito positivo o negativo.

[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

Parametri

url
NSUrl
createIntermediates
Boolean
attributes
NSDictionary

Da aggiungere.

Questo parametro può essere null.

error
NSError

Restituisce

Attributi

Si applica a