Click or drag to resize

WindowsFileSystemItemTrySetAttributes Method

IT Hit User File System
Tries to set file attributes.

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.4.27341.0
Syntax
public static bool TrySetAttributes(
	string path,
	FileAttributes attributes
)

Parameters

path
Type: SystemString
File system path.
attributes
Type: System.IOFileAttributes
Attributes.

Return Value

Type: Boolean
True if the method completed successfully, false - otherwise.
See Also