Click or drag to resize

FileSystemEntryDeleteByPath Method

Deletes an entry using its path.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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