Click or drag to resize

FileSystemEntrySetBasicInformationByPath Method (String, FileSystemBasicInfo, Boolean)

Sets basic information of an entry using its path. 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 SetBasicInformationByPath(
	string path,
	FileSystemBasicInfo basicInfo,
	bool throwOnError = true
)

Parameters

path
Type: SystemString
The path to use.
basicInfo
Type: callback.ShellBoost.Core.UtilitiesFileSystemBasicInfo
The basic information.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: Boolean
true if the operation succeeded; otherwise false.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath or basicInfo is null
See Also