Click or drag to resize

IOUtilitiesFileCreateDirectory Method

Create the directory needed to contain a specified file path.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static bool FileCreateDirectory(
	string path,
	bool throwOnError = true
)

Parameters

path
Type: SystemString
The file path.
throwOnError (Optional)
Type: SystemBoolean
if set to true errors may be throw in case of errors.

Return Value

Type: Boolean
true if a directory was created, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also