NSFileManager.CreateDirectory Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CreateDirectory(String, Boolean, NSFileAttributes, NSError) | |
CreateDirectory(String, Boolean, NSDictionary, NSError) | |
CreateDirectory(String, Boolean, NSFileAttributes) | |
CreateDirectory(NSUrl, Boolean, NSDictionary, NSError) |
Attemps pour créer le répertoire spécifié, en retournant la réussite ou l’échec. |
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
Paramètres
- path
- String
- createIntermediates
- Boolean
- attributes
- NSFileAttributes
- error
- NSError
Retours
S’applique à
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
Paramètres
- path
- String
- createIntermediates
- Boolean
- error
- NSError
Retours
- Attributs
S’applique à
CreateDirectory(String, Boolean, NSFileAttributes)
public bool CreateDirectory (string path, bool createIntermediates, Foundation.NSFileAttributes attributes);
member this.CreateDirectory : string * bool * Foundation.NSFileAttributes -> bool
Paramètres
- path
- String
- createIntermediates
- Boolean
- attributes
- NSFileAttributes
Retours
S’applique à
CreateDirectory(NSUrl, Boolean, NSDictionary, NSError)
Attemps pour créer le répertoire spécifié, en retournant la réussite ou l’échec.
[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
Paramètres
- url
- NSUrl
- createIntermediates
- Boolean
- error
- NSError
Retours
- Attributs