ReadSnapshotOpenFile(Int32) Method

Opens an ArchiveFileStream that can be used to read the fspecified file.

Definition

Namespace: SnapDB.IO.FileStructure
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public SubFileStream OpenFile(
	int fileIndex
)

Parameters

fileIndex  Int32
The index of the file to open.

Return Value

SubFileStream
An ArchiveFileStream for reading the specified file.

Remarks

This method allows you to open an ArchiveFileStream for reading a file identified by its index. The provided fileIndex is used to locate and open the corresponding file.

Exceptions

ArgumentOutOfRangeExceptionThrown if fileIndex is out of range.

See Also