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

◆ GetEntry()

ZipArchiveEntry? System.IO.Compression.ZipArchive.GetEntry ( string entryName)
inline

Definition at line 229 of file ZipArchive.cs.

230 {
231 if (entryName == null)
232 {
233 throw new ArgumentNullException("entryName");
234 }
235 if (_mode == ZipArchiveMode.Create)
236 {
237 throw new NotSupportedException(System.SR.EntriesInCreateMode);
238 }
241 return value;
242 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
Dictionary< string, ZipArchiveEntry > _entriesDictionary
Definition ZipArchive.cs:21
static string EntriesInCreateMode
Definition SR.cs:74
Definition SR.cs:7

References System.IO.Compression.ZipArchive._entriesDictionary, System.IO.Compression.ZipArchive._mode, System.IO.Compression.ZipArchive.EnsureCentralDirectoryRead(), System.SR.EntriesInCreateMode, System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.