DocumentDataArchiveReaderReadDocumentFromControlNumberIndex Method |
Reads a document from the DocumentControlNumberIndex given by the 'docControlNumber' argument. This archive must have been constructed with
ControlNumberIndexAndHeaderOnly mode, or else this method will throw an exception.
Namespace: OpenDiscoverSDK.Platform.ArchiveAssembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2025.4.4.0 (2025.4.4)
Syntaxpublic Document ReadDocumentFromControlNumberIndex(
string docControlNumber
)
Parameters
- docControlNumber String
- A valid document control number for this document data archive (.dda) file.
Return Value
DocumentThe document identified by the 'docControlNumber' argument.
Exceptions| Exception | Condition |
|---|
| Exception |
This method throws an exception if the index is emtpy, the control number is invalid, or if the control number is
not in the DocumentControlNumberIndex. |
See Also