1 | Namespace System |
---|
2 | Namespace IO |
---|
3 | |
---|
4 | |
---|
5 | Enum FileAccess |
---|
6 | Read = -2147483648 'GENERIC_READ |
---|
7 | ReadWrite = -1073741824 'GENERIC_READ Or GENERIC_WRITE |
---|
8 | Write = 1073741824' GENERIC_WRITE |
---|
9 | End Enum |
---|
10 | |
---|
11 | Enum FileAttributes |
---|
12 | Archive = 32 'FILE_ATTRIBUTE_ARCHIVE |
---|
13 | Compressed = 2048 'FILE_ATTRIBUTE_COMPRESSED |
---|
14 | Device = 64 'FILE_ATTRIBUTE_DEVICE |
---|
15 | Directory = 16 'FILE_ATTRIBUTE_DIRECTORY |
---|
16 | Encrypted = 16384 'FILE_ATTRIBUTE_ENCRYPTED |
---|
17 | Hidden = 2 'FILE_ATTRIBUTE_HIDDEN |
---|
18 | Normal = 128 'FILE_ATTRIBUTE_NORMAL |
---|
19 | NotContentIndexed = 8192 'FILE_ATTRIBUTE_NOT_CONTENT_INDEXED |
---|
20 | Offline = 4096 'FILE_ATTRIBUTE_OFFLINE |
---|
21 | ReadOnly = 1 'FILE_ATTRIBUTE_READONLY |
---|
22 | ReparsePoint = 1024 'FILE_ATTRIBUTE_REPARSE_POINT |
---|
23 | SparseFile = 512 'FILE_ATTRIBUTE_SPARSE_FILE |
---|
24 | System = 4 'FILE_ATTRIBUTE_SYSTEM |
---|
25 | Temporary = 256 'FILE_ATTRIBUTE_TEMPORARY |
---|
26 | End Enum |
---|
27 | |
---|
28 | Enum FileMode |
---|
29 | Append = 4 'OPEN_ALWAYS |
---|
30 | Create = 2 'CREATE_ALWAYS |
---|
31 | CreateNew = 1 'CREATE_NEW |
---|
32 | Open = 3 'OPEN_EXISTING |
---|
33 | OpenOrCreate = 4 'OPEN_ALWAYS |
---|
34 | Truncate = 5 'TRUNCATE_EXISTING |
---|
35 | End Enum |
---|
36 | |
---|
37 | Enum FileShare |
---|
38 | None = 0 |
---|
39 | Read = FILE_SHARE_READ |
---|
40 | Write = FILE_SHARE_WRITE |
---|
41 | ReadWrite = FILE_SHARE_READ Or FILE_SHARE_WRITE |
---|
42 | DeleteFile = FILE_SHARE_DELETE |
---|
43 | End Enum |
---|
44 | |
---|
45 | Class File |
---|
46 | Public |
---|
47 | |
---|
48 | Static Sub AppendAllText( path As String, contents As String ) |
---|
49 | ' TODO: 実装 |
---|
50 | End Sub |
---|
51 | |
---|
52 | /* Static Sub AppendAllText( path As String, contents As String, encoding As Encoding ) |
---|
53 | ' TODO: 実装 |
---|
54 | End Sub */ |
---|
55 | |
---|
56 | Static Function AppendText( path As String ) As StreamWriter |
---|
57 | ' TODO: 実装 |
---|
58 | End Function |
---|
59 | |
---|
60 | Static Sub Copy( sourceFileName As String, destFileName As String ) |
---|
61 | ' TODO: 実装 |
---|
62 | End Sub |
---|
63 | |
---|
64 | Static Sub Copy( sourceFileName As String, destFileName As String, overwrite As Boolean ) |
---|
65 | ' TODO: 実装 |
---|
66 | End Sub |
---|
67 | |
---|
68 | Static Function Create( path As String ) As FileStream |
---|
69 | ' TODO: 実装 |
---|
70 | End Function |
---|
71 | |
---|
72 | Static Function Create( path As String, bufferSize As Long ) As FileStream |
---|
73 | ' TODO: 実装 |
---|
74 | End Function |
---|
75 | |
---|
76 | /* Static Function Create( path As String, bufferSize As Long, options As FileOptions ) As FileStream |
---|
77 | ' TODO: 実装 |
---|
78 | End Function */ |
---|
79 | |
---|
80 | /* Static Function Create( path As String, bufferSize As Long, options As FileOptions, fileSecurity As FileSecurity ) As FileStream |
---|
81 | ' TODO: 実装 |
---|
82 | End Function */ |
---|
83 | |
---|
84 | Static Function CreateText( path As String ) As StreamWriter |
---|
85 | ' TODO: 実装 |
---|
86 | End Function |
---|
87 | |
---|
88 | Static Sub Decrypt( path As String ) |
---|
89 | ' TODO: 実装 |
---|
90 | End Sub |
---|
91 | |
---|
92 | Static Sub DeleteFile( path As String ) |
---|
93 | ' TODO: 実装 |
---|
94 | End Sub |
---|
95 | |
---|
96 | Static Sub Encrypt( path As String ) |
---|
97 | ' TODO: 実装 |
---|
98 | End Sub |
---|
99 | |
---|
100 | Static Function Exists( path As String ) As Boolean |
---|
101 | ' TODO: 実装 |
---|
102 | End Function |
---|
103 | |
---|
104 | /* Static Function GetAccessControl( path As String ) As FileSecurity |
---|
105 | ' TODO: 実装 |
---|
106 | End Function */ |
---|
107 | |
---|
108 | /* Static Function GetAccessControl( path As String, includeSections As AccessControlSections ) As FileSecurity |
---|
109 | ' TODO: 実装 |
---|
110 | End Function */ |
---|
111 | |
---|
112 | Static Function GetAttributes( path As String ) As FileAttributes |
---|
113 | ' TODO: 実装 |
---|
114 | End Function |
---|
115 | |
---|
116 | Static Function GetCreationTime( path As String ) As DateTime |
---|
117 | ' TODO: 実装 |
---|
118 | End Function |
---|
119 | |
---|
120 | Static Function GetCreationTimeUtc( path As String ) As DateTime |
---|
121 | ' TODO: 実装 |
---|
122 | End Function |
---|
123 | |
---|
124 | Static Function GetLastAccessTime( path As String ) As DateTime |
---|
125 | ' TODO: 実装 |
---|
126 | End Function |
---|
127 | |
---|
128 | Static Function GetLastAccessTimeUtc( path As String ) As DateTime |
---|
129 | ' TODO: 実装 |
---|
130 | End Function |
---|
131 | |
---|
132 | Static Function GetLastWriteTime( path As String ) As DateTime |
---|
133 | ' TODO: 実装 |
---|
134 | End Function |
---|
135 | |
---|
136 | Static Function GetLastWriteTimeUtc( path As String ) As DateTime |
---|
137 | ' TODO: 実装 |
---|
138 | End Function |
---|
139 | |
---|
140 | Static Sub Move( sourceFileName As String, destFileName As String ) |
---|
141 | ' TODO: 実装 |
---|
142 | End Sub |
---|
143 | |
---|
144 | Static Function Open( path As String, mode As FileMode ) As FileStream |
---|
145 | ' TODO: 実装 |
---|
146 | End Function |
---|
147 | |
---|
148 | Static Function Open( path As String, mode As FileMode, access As FileAccess ) As FileStream |
---|
149 | ' TODO: 実装 |
---|
150 | End Function |
---|
151 | |
---|
152 | Static Function Open( path As String, mode As FileMode, access As FileAccess, share As FileShare ) As FileStream |
---|
153 | ' TODO: 実装 |
---|
154 | End Function |
---|
155 | |
---|
156 | Static Function OpenRead( path As String ) As FileStream |
---|
157 | ' TODO: 実装 |
---|
158 | End Function |
---|
159 | |
---|
160 | ' Static Function OpenText( path As String ) As StreamReader |
---|
161 | ' TODO: 実装 |
---|
162 | ' End Function |
---|
163 | |
---|
164 | Static Function OpenWrite( path As String ) As FileStream |
---|
165 | ' TODO: 実装 |
---|
166 | End Function |
---|
167 | |
---|
168 | Static Function ReadAllBytes( path As String ) As *Byte |
---|
169 | ' TODO: 実装 |
---|
170 | End Function |
---|
171 | |
---|
172 | /* Static Function ReadAllLines( path As String ) As Strings |
---|
173 | ' TODO: 実装 |
---|
174 | End Function */ |
---|
175 | |
---|
176 | /* Static Function ReadAllLines( path As String, encoding As Encoding ) As Strings |
---|
177 | ' TODO: 実装 |
---|
178 | End Function */ |
---|
179 | |
---|
180 | Static Function ReadAllText( path As String ) As String |
---|
181 | ' TODO: 実装 |
---|
182 | End Function |
---|
183 | |
---|
184 | /* Static Function ReadAllText( path As String, encoding As Encoding ) As String |
---|
185 | ' TODO: 実装 |
---|
186 | End Function */ |
---|
187 | |
---|
188 | Static Sub Replace( sourceFileName As String, destinationFileName As String, destinationBackupFileName As String ) |
---|
189 | ' TODO: 実装 |
---|
190 | End Sub |
---|
191 | |
---|
192 | Static Sub Replace( sourceFileName As String, destinationFileName As String, destinationBackupFileName As String, ignoreMetadataErrors As Boolean ) |
---|
193 | ' TODO: 実装 |
---|
194 | End Sub |
---|
195 | |
---|
196 | /* Static Sub SetAccessControl( path As String, fileSecurity As FileSecurity ) |
---|
197 | ' TODO: 実装 |
---|
198 | End Sub */ |
---|
199 | |
---|
200 | Static Sub SetAttributes( path As String, fileAttributes As FileAttributes ) |
---|
201 | ' TODO: 実装 |
---|
202 | End Sub |
---|
203 | |
---|
204 | Static Sub SetCreationTime( path As String, creationTime As DateTime ) |
---|
205 | ' TODO: 実装 |
---|
206 | End Sub |
---|
207 | |
---|
208 | Static Sub SetCreationTimeUtc( path As String, creationTime As DateTime ) |
---|
209 | ' TODO: 実装 |
---|
210 | End Sub |
---|
211 | |
---|
212 | Static Sub SetLastAccessTime( path As String, lastAccessTime As DateTime ) |
---|
213 | ' TODO: 実装 |
---|
214 | End Sub |
---|
215 | |
---|
216 | Static Sub SetLastAccessTimeUtc( path As String, lastAccessTimeUtc As DateTime ) |
---|
217 | ' TODO: 実装 |
---|
218 | End Sub |
---|
219 | |
---|
220 | Static Sub SetLastWriteTime( path As String, lastWriteTime As DateTime ) |
---|
221 | ' TODO: 実装 |
---|
222 | End Sub |
---|
223 | |
---|
224 | Static Sub SetLastWriteTimeUtc( path As String, lastWriteTimeUtc As DateTime ) |
---|
225 | ' TODO: 実装 |
---|
226 | End Sub |
---|
227 | |
---|
228 | Static Sub WriteAllBytes( path As String, bytes As *Byte ) |
---|
229 | ' TODO: 実装 |
---|
230 | End Sub |
---|
231 | |
---|
232 | /* Static Sub WriteAllLines( path As String, contents As Strings ) |
---|
233 | ' TODO: 実装 |
---|
234 | End Sub */ |
---|
235 | |
---|
236 | /* Static Sub WriteAllLines( path As String, contents As Strings, encoding As Enconding ) |
---|
237 | ' TODO: 実装 |
---|
238 | End Sub */ |
---|
239 | |
---|
240 | Static Sub WriteAllText( path As String, contents As String ) |
---|
241 | ' TODO: 実装 |
---|
242 | End Sub |
---|
243 | |
---|
244 | /* Static Sub WriteAllText( path As String, contents As String, encoding As Enconding ) |
---|
245 | ' TODO: 実装 |
---|
246 | End Sub */ |
---|
247 | |
---|
248 | End Class |
---|
249 | |
---|
250 | |
---|
251 | End Namespace |
---|
252 | End Namespace |
---|