Click or drag to resize

UtilCreateDirectoryIfNotExists Method

Creates a directory, if the directory does not already exist.

It many levels of directory. If the directory already exists, nothing is done.

The method returns false if it was not possible to create directory, becase the parent directory did not exists either. Otherwise it returns true.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static bool CreateDirectoryIfNotExists(
	string folderName
)

Parameters

folderName
Type: SystemString
Full path and name of directory to create

Return Value

Type: Boolean

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.Util.CreateDirectoryIfNotExists(System.String)"]

See Also