Click or drag to resize

FileSystemEntrySetAttributesById Method

Sets an entry attributes using its 128-bit identifier.

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

Parameters

volumeGuid
Type: SystemString
The volume Guid.
id
Type: SystemGuid
The entry identifier.
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: FileAttributes
The previous attributes or 0 if an error occured.
See Also