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.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static bool CreateDirectoryIfNotExists(
	string folderName
)

Parameters

folderName  String
Full path and name of directory to create

Return Value

Boolean

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

See Also