File.Mkdirs 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 the directory named by this abstract pathname, including any necessary but nonexistent parent directories.
[Android.Runtime.Register("mkdirs", "()Z", "GetMkdirsHandler")]
public virtual bool Mkdirs ();
[<Android.Runtime.Register("mkdirs", "()Z", "GetMkdirsHandler")>]
abstract member Mkdirs : unit -> bool
override this.Mkdirs : unit -> bool
Returns
true
if and only if the directory was created,
along with all necessary parent directories; false
otherwise
- Attributes
Remarks
Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories. Note that if this operation fails it may have succeeded in creating some of the necessary parent directories.
Java documentation for java.io.File.mkdirs()
.
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.