ReadSnapshotOpenFile(SubFileName) Method

Opens an ArchiveFileStream that can be used to read or write to the specified file.

Definition

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

Parameters

fileName  SubFileName
The name 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 name. The provided fileName is used to locate and open the corresponding file.

Exceptions

ExceptionThrown if the specified file does not exist.

See Also