Files.CreateDirectories(IPath, IFileAttribute[]) 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.
Creates a directory by creating all nonexistent parent directories first.
[Android.Runtime.Register("createDirectories", "(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;", "", ApiSince=26)]
public static Java.Nio.FileNio.IPath? CreateDirectories (Java.Nio.FileNio.IPath? dir, params Java.Nio.FileNio.Attributes.IFileAttribute[]? attrs);
[<Android.Runtime.Register("createDirectories", "(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;", "", ApiSince=26)>]
static member CreateDirectories : Java.Nio.FileNio.IPath * Java.Nio.FileNio.Attributes.IFileAttribute[] -> Java.Nio.FileNio.IPath
Parameters
- dir
- IPath
the directory to create
- attrs
- IFileAttribute[]
an optional list of file attributes to set atomically when creating the directory
Returns
the directory
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.