Click or drag to resize

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.Archive
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
public Document ReadDocumentFromControlNumberIndex(
	string docControlNumber
)

Parameters

docControlNumber  String
A valid document control number for this document data archive (.dda) file.

Return Value

Document
The document identified by the 'docControlNumber' argument.
Exceptions
ExceptionCondition
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