Specifies an input stream as the source of content data for this ContentTransfer object.
The Content Engine will not automatically close the stream after access has finished; unless you want the stream to
remain open, your application should close the stream once all of the content data has been read by the
server. The stream can safely be closed after you have added this ContentTransfer object to the
ContentElements collection of a document or annotation and called that object's Save method.
Namespace:
FileNet.Api.Core
Assembly:
FileNet.Api (in FileNet.Api.dll)
Visual Basic (Declaration) |
---|
Sub SetCaptureSource ( _
source As Stream _
) |
C# |
---|
void SetCaptureSource(
Stream source
) |
Visual C++ |
---|
void SetCaptureSource(
Stream^ source
) |
JavaScript |
---|
function setCaptureSource(source); |
Parameters
- source
- Type: System.IO..::.Stream
A Stream object specifying the source of the content data.