[This is preliminary documentation and is subject to change.]

Win32 file attributes.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 2.0.1.0

Syntax

C#
[FlagsAttribute]
public enum Win32FileAttributes
Visual Basic (Declaration)
<FlagsAttribute> _
Public Enumeration Win32FileAttributes
Visual Basic (Usage)
Dim instance As Win32FileAttributes

Members

Member nameDescription
ReadOnly
Read-only file.
Hidden
Hidden file.
System
System file.
Archive
File should be archived.
Device
Device file.
Normal
Normal file.
Temporary
File is temporary (should be kept in cache and not written to disk if possible).
SparseFile
Sparse file.
ReparsePoint
Reparse point.
Compressed
Compress file contents.
NotContentIndexed
File should not be indexed by the content indexing service.
Encrypted
Encrypted file.
WriteThrough
The system writes through any intermediate cache and goes directly to disk.
NoBuffering
The system opens a file with no system caching.
DeleteOnClose
Delete file after it is closed.
PosixSemantics
A file is accessed according to POSIX rules.

Remarks

See Also