UtilFileHasAttributes(FileInfo, FileAttributes) Method

Gets a value indicating whether a file contains the specified file-attribute(s).

Definition

Namespace: DevCase.Core.IO.FileSystem
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool HasAttributes(
	FileInfo file,
	FileAttributes attributes
)

Parameters

file  FileInfo
The source file.
attributes  FileAttributes
The file attribute(s).

Return Value

Boolean
if file contains the file-attribute(s), otherwise.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also