Click or drag to resize

FileSystemEntrySetBasicInformationById Method (String, Guid, DateTime, DateTime, DateTime, DateTime, FileAttributes, 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:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static bool SetBasicInformationById(
	string volumeGuid,
	Guid id,
	DateTime creationTime,
	DateTime lastAccessTime,
	DateTime lastWriteTime,
	DateTime changeTime,
	FileAttributes attributes,
	bool throwOnError = true
)

Parameters

volumeGuid
Type: SystemString
The volume Guid.
id
Type: SystemGuid
The entry identifier.
creationTime
Type: SystemDateTime
Specifies the time that the entry was created.
lastAccessTime
Type: SystemDateTime
Specifies the time that the entry was last accessed.
lastWriteTime
Type: SystemDateTime
Specifies the time that the entry was last written to.
changeTime
Type: SystemDateTime
Specifies the last time the entry was changed.
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