Copyright © 2001-2018 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 ZIP object.

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

 

 

Syntax

 

[Visual Basic]

control.ZIP.EntryNameGet (

nEntryIndex as Int32,

bIsDirectory as enumBoolean

) as string


 

[C++]

short control.ZIP.EntryNameGet (

Int32 nEntryIndex,

long *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

Value

Meaning

BOOL_FALSE

0

The requested entry is a file

BOOL_TRUE

1

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.