[This is preliminary documentation and is subject to change.]
Win32 file attributes.
Namespace:
NLog.TargetsAssembly: NLog (in NLog.dll) Version: 2.0.0.0
Syntax
| C# |
|---|
[FlagsAttribute] public enum Win32FileAttributes |
| Visual Basic (Declaration) |
|---|
<FlagsAttribute> _ Public Enumeration Win32FileAttributes |
| Visual C++ |
|---|
[FlagsAttribute] public enum class Win32FileAttributes |
Members
| Member name | Description | |
|---|---|---|
| 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
For more information see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createfile.asp.
