Java.IO.File.Mkdirs Method
Creates the directory named by this file, creating missing parent directories if necessary.

Syntax

[Android.Runtime.Register("mkdirs", "()Z", "GetMkdirsHandler")]
public virtual bool Mkdirs ()

Returns

Documentation for this section has not yet been entered.

Remarks

Creates the directory named by this file, creating missing parent directories if necessary. Use File.Mkdir if you don't want to create missing parents.

Note that this method does not throw IOException on failure. Callers must check the return value. Note also that this method returns false if the directory already existed. If you want to know whether the directory exists on return, either use (f.mkdirs() || f.isDirectory()) or simply ignore the return value from this method and simply call File.IsDirectory.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1