Discuss this help topic in SecureBlackbox Forum

TElMultiStream.AddStream

TElMultiStream     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Adds a stream to the collection.

Declaration

[C#/Java]
    bool AddStream(System.IO.Stream AStream, bool FreeStream);

[VB.NET]
    Function AddStream(ByVal AStream As System.IO.Stream, ByVal FreeStream As Boolean) As Boolean

[Pascal]
    function AddStream(AStream : TStream; FreeStream : boolean) : boolean;

[C++]
    bool AddStream(TStream &AStream, bool FreeStream);
    bool AddStream(TStream *AStream, bool FreeStream);

[PHP]
    bool AddStream(TStream $AStream, bool $FreeStream)

Parameters

  • AStream - stream to be added to the collection
  • FreeStream - specifies if the stream should be cleaned by the component (True), or the user will take care of cleaning it (False)

Return value

    Returns True if the stream has been successfully added to the collection, and False otherwise.

Description

    Call this method to add a new stream to TElMultiStream collection.

Discuss this help topic in SecureBlackbox Forum