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)

Syntax

Visual Basic (Declaration)
Sub SetCaptureSource( _ 
   ByVal source As Stream _ 
)
C#
void SetCaptureSource(
   Stream source
)
C++
void SetCaptureSource(
   Stream source
) abstract 
J#
void SetCaptureSource(
   Stream source
)
JScript
function SetCaptureSource(
   source : Stream
)

Parameters

source
A Stream object specifying the source of the content data.

See Also