Click or drag to resize

FileSystemEntryDeleteByPath Method

Deletes an entry using its path.

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

Parameters

path
Type: SystemString
The path to use.
unprotect (Optional)
Type: SystemBoolean
If set to true and the entry has the ReadOnly attribute, it will be removed before deletion.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: Boolean
true if the entry was deleted; otherwise false.
See Also