Copyright © 2011-2019 MultiMedia Soft

ZIP.EntryNameGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the name of a specific entry inside the ZIP file previously opened through the ZIP.Open method or created through the ZIP.Create method.

 

For further details about methods for ZIP management refer to the ZipMan class.

For details about using ZIP management refer to the How to manage ZIP files tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function EntryNameGet (

nEntryIndex as Int32,

ByRef bIsDirectory as Boolean

) as string


 

[C#]

public string EntryNameGet (

Int32 nEntryIndex,

ref bool bIsDirectory

);


 

[C++]

public: string EntryNameGet (

Int32 nEntryIndex,

bool __gc *bIsDirectory

);


 

 

 

Parameter

Description

 

 

nEntryIndex

Number representing the zero-based index of the entry. The total number of entries available inside the ZIP file can be obtained through the ZIP.EntriesCountGet method.

bIsDirectory

Reference that, on return from the method call, will specify if the requested entry is a file or a directory.

Supported values are the following:

Mnemonic constant

Meaning

false

The requested entry is a file

true

The requested entry is a directory

 

 

Return value

 

Value

Meaning

 

 

Empty string

The value of the nEntryIndex parameter was out of range. Use the value returned by the ZIP.EntriesCountGet method in order to know how many entries are effectively available inside the ZIP file.

Valid string

The string containing the name of the requested entry.