DocumentCreateFromStream Method
Creates a document from a stream.

Namespace: GroupDocs.Search.Common
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.11
Syntax
public static Document CreateFromStream(
	string documentKey,
	DateTime modificationDate,
	string extension,
	Stream stream
)

Parameters

documentKey
Type: SystemString
The document key.
modificationDate
Type: SystemDateTime
The document modification date.
extension
Type: SystemString
The document extension.
stream
Type: System.IOStream
The document stream.

Return Value

Type: Document
The created document.
See Also