FileSystemEntrySetBasicInformationById Method (String, Guid, FileSystemBasicInfo, Boolean) |
Sets basic information of an entry using its 128-bit identifier.
If a DateTime parameter is set to DateTime.MinValue, the corresponding entry value will not be changed.
DateTime parameters kind must be either Utc or Local, but not Unspecified.
If the attributes parameter is set to 0, the corresponding entry value will not be changed. Note that some attributes (such as ReadOnly) should be changed using the SetAttributes method.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static bool SetBasicInformationById(
string volumeGuid,
Guid id,
FileSystemBasicInfo basicInfo,
bool throwOnError = true
)
Parameters
- volumeGuid
- Type: SystemString
The volume Guid. - id
- Type: SystemGuid
The entry identifier. - basicInfo
- Type: ShellBoost.Core.UtilitiesFileSystemBasicInfo
The basic information. - throwOnError (Optional)
- Type: SystemBoolean
true to throw errors; otherwise false.
Return Value
Type:
Booleantrue if the operation succeeded; otherwise false.
See Also