FileSystemEntrySetAttributesByPath Method |
Sets an entry attributes using its path.
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax 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:
Booleantrue if the operation succeeded; otherwise false.
See Also