Click or drag to resize

AttachmentDataArchiveCreatorWriteRecord Method

Writes the Document child native file record to a attachment data archive (.ada). This method expects that DocumentBytes to be non-null, if not, no record will be written to the .ada file.

Namespace: OpenDiscoverSDK.Platform.Archive
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
public void WriteRecord(
	Document document,
	byte[] documentBytes
)

Parameters

document  Document
The Document instance whose 'documentBytes' is to be written to the attachment data archive (.ada) file. The following properties should be set on the document: DocControlNumber, and FormatId
documentBytes  Byte
Document native file bytes.
Remarks
Upon completion of writing the Document's record, the following properties are set on Document: IsAttachmentArchiveFilePath (set to true), FilePath (see to file path of .ada), and AttachmentArchiveRecordOffset.
See Also