DocumentCreateFromStream Method |
Creates a document from a stream.
Namespace: GroupDocs.Search.CommonAssembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 21.8
Syntaxpublic static Document CreateFromStream(
string documentKey,
DateTime modificationDate,
string extension,
Stream stream
)
Public Shared Function CreateFromStream (
documentKey As String,
modificationDate As DateTime,
extension As String,
stream As Stream
) As Document
public:
static Document^ CreateFromStream(
String^ documentKey,
DateTime modificationDate,
String^ extension,
Stream^ stream
)
static member CreateFromStream :
documentKey : string *
modificationDate : DateTime *
extension : string *
stream : Stream -> Document
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:
DocumentThe created document.
See Also