Deployment Tools Foundation
GetArchiveName Method (archiveNumber)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveFileStreamContext ► GetArchiveName(Int32)
Gets the name of the archive with a specified number.
Declaration Syntax
Parameters
- archiveNumber (Int32)
- The 0-based index of the archive within the chain.
Return Value
The name of the requested archive. May be an empty string
for non-chained archives, but may never be null.
Remarks
This method returns the file name of the archive from the
archiveFiles()()() list with the specified index, or an empty
string if the archive number is outside the bounds of the list. The
file name should not include any directory path.