Click or drag to resize

IOUtilitiesPathMakeSystemFolder Method

Gives an existing folder the proper attributes to become a system folder.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static int PathMakeSystemFolder(
	string path,
	bool throwOnError = true
)

Parameters

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

Return Value

Type: Int32
An error number or 0.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also