BenSelect Documentation
GetEntry Method
See Also  Send Feedback
Selerix.Foundation Namespace > IZipArchive Interface : GetEntry Method
entryName
A path, relative to the root of the archive, that identifies the entry to retrieve.
Retrieves a wrapper for the specified entry in the zip archive.

Syntax

JScript 
function GetEntry( 
   entryName : String
) : IZipArchiveEntry;

Parameters

entryName
A path, relative to the root of the archive, that identifies the entry to retrieve.

Return Value

A wrapper for the specified entry in the archive; null if the entry does not exist in the archive.

Exceptions

ExceptionDescription
System.ArgumentExceptionentryName is System.String.Empty
System.ArgumentNullExceptionentryName is null./>
System.NotSupportedException The zip archive does not support reading.
System.ObjectDisposedException The zip archive has been disposed.
System.IO.InvalidDataException The zip archive is corrupt, and its entries cannot be retrieved.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.