CreateFromStream
Document.CreateFromStream method
Creates a document from a stream.
public static Document CreateFromStream(string documentKey, DateTime modificationDate,
string extension, Stream stream)
| Parameter | Type | Description |
|---|---|---|
| documentKey | String | The document key. |
| modificationDate | DateTime | The document modification date. |
| extension | String | The document extension. The extension must start with the period character ‘.’. |
| stream | Stream | The document stream. |
Return Value
The created document.
See Also
- class Document
- namespace GroupDocs.Search.Common
- assembly GroupDocs.Search