CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
file_attributes.h
1
2#ifndef _FileAttributes_h_
3#define _FileAttributes_h_
4#include <system/enum_helpers.h>
5
6namespace System { namespace IO {
8 enum class FileAttributes
9 {
11 Archive = 0x00020,
13 Compressed = 0x00800,
15 Device = 0x00040, // Reserved for future use (NOT the w32 value).
17 Directory = 0x00010,
19 Encrypted = 0x04000, // NOT the w32 value
21 Hidden = 0x00002,
23 IntegrityStream = 0x8000,
25 Normal = 0x00080,
27 NotContentIndexed = 0x02000,
29 NoScrubData = 0x20000,
31 Offline = 0x01000,
33 ReadOnly = 0x00001,
35 ReparsePoint = 0x00400,
37 SparseFile = 0x00200,
39 System = 0x00004,
41 Temporary = 0x00100,
43 Invalid = 0
44 };
45
48 DECLARE_ENUM_OPERATORS(System::IO::FileAttributes);
50 DECLARE_USING_GLOBAL_OPERATORS
52}} // namespace System::IO
53
55DECLARE_USING_ENUM_OPERATORS(System::IO);
56
57#endif
Contains methods for manipulating directories. This is a static type with no instance services....
Definition: directory.h:58
Definition: fwd.h:38
FileAttributes
Represents attributes of a directory or a file.
Definition: file_attributes.h:9
@ Temporary
The filesystem entity is a temporary file.
@ ReparsePoint
The filesystem entity is a file that contains a reparse point.
@ NoScrubData
The filesystem entity is not included in the data integrity scan.
@ Compressed
The filesystem entity is compressed.
@ SparseFile
The filesystem entity is a sparse file.
@ Offline
The filesystem entity is offline and its data is not immediately available.
@ IntegrityStream
The filesystem entity contains data integrity support.
@ Encrypted
The filesystem entity is encrypted.
@ Archive
The filesystem entity is a candidate for removal or backup.
@ NotContentIndexed
The filesystem entity will not be indexed by the content indexing service.
Definition: db_command.h:9