CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
file_share.h
1
2#pragma once
3
4#include <system/enum_helpers.h>
5#include <system/details/enum_meta_info.h>
6
7namespace System { namespace IO {
8
10enum class FileShare
11{
13 None = 0,
15 Read = 1,
17 Write = 2,
19 ReadWrite = 3,
21 Delete = 4,
23 Inheritable = 16
24};
25
28DECLARE_ENUM_OPERATORS(System::IO::FileShare);
30DECLARE_USING_GLOBAL_OPERATORS
32}} // namespace System::IO
33
35DECLARE_USING_ENUM_OPERATORS(System::IO);
36
37template<>
38struct EnumMetaInfo<System::IO::FileShare>
39{
40 typedef void Flags;
41 static ASPOSECPP_SHARED_API const std::array<std::pair<System::IO::FileShare, const char16_t*>, 6>& values();
42};
Definition: fwd.h:38
FileShare
Specifies what kind of access other FileStream objects can have to a file being opened.
Definition: file_share.h:11
@ Inheritable
Makes file handle inheritable by child processes.
@ Delete
The file can be deleted.
Definition: db_command.h:9