Click or drag to resize

FileSystemEntrySetAttributesByPath Method

Sets an entry attributes using its path.

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

Parameters

path
Type: SystemString
The path to use.
attributes
Type: System.IOFileAttributes
Specifies a combination of zero or more FileAttributes flags.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: Boolean
true if the operation succeeded; otherwise false.
See Also