Obtains read access, via an input stream, to the content data of a
content element associated with this document or annotation. If content data is not present in the object’s property cache, it will be fetched from the server. 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 after it has finished reading the content data. An error occurs if the
parameter specifies an invalid index, no content elements exist on this document or annotation, or the content element is not a
object.
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Function AccessContentStream( _ ByVal element As Integer _ ) As Stream |
C# |
---|
Stream AccessContentStream( int element ) |
C++ |
---|
Stream AccessContentStream( int element ) abstract |
J# |
---|
Stream AccessContentStream( int element ) |
JScript |
---|
function AccessContentStream( element : int ) : Stream |
Parameters
- element
- An integer specifying the index of the content element to which the content data belongs.
Return Value
A
object for reading content data.