Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ LastWriteTime

DateTimeOffset System.IO.Compression.ZipArchiveEntry.LastWriteTime
getset

Definition at line 323 of file ZipArchiveEntry.cs.

324 {
325 get
326 {
327 return _lastModified;
328 }
329 set
330 {
332 if (_archive.Mode == ZipArchiveMode.Read)
333 {
334 throw new NotSupportedException(System.SR.ReadOnlyArchive);
335 }
336 if (_archive.Mode == ZipArchiveMode.Create && _everOpenedForWrite)
337 {
338 throw new IOException(System.SR.FrozenAfterWrite);
339 }
340 if (value.DateTime.Year < 1980 || value.DateTime.Year > 2107)
341 {
342 throw new ArgumentOutOfRangeException("value", System.SR.DateTimeOutOfRange);
343 }
345 }
346 }
static string FrozenAfterWrite
Definition SR.cs:98
static string ReadOnlyArchive
Definition SR.cs:112
static string DateTimeOutOfRange
Definition SR.cs:66
Definition SR.cs:7