Discuss this help topic in SecureBlackbox Forum

TElMessagePart.AddPart

TElMessagePart     See also     


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


Adds new part to the multipart part.

Declaration

[C#/Java]
    TElMessagePart AddPart(TElMessagePart Part, bool bMakeCopy, int PartIndex);
    void AddPart(TElMessagePart Part);

[VB.NET]
    Function AddPart(ByVal Part As TElMessagePart, ByVal bMakeCopy As Boolean, ByVal PartIndex As Integer) As TElMessagePart
    Sub AddPart(ByVal Part As TElMessagePart)

[Pascal]
    function AddPart(Part: TElMessagePart; bMakeCopy: Boolean; PartIndex: Integer = -1): TElMessagePart;
    procedure AddPart(Part: TElMessagePart);

[C++]
    TElMessagePartHandle AddPart(TElMessagePart &Part, bool bMakeCopy, int32_t PartIndex);
    TElMessagePartHandle AddPart(TElMessagePart *Part, bool bMakeCopy, int32_t PartIndex);
    void AddPart(TElMessagePart &Part);
    void AddPart(TElMessagePart *Part);

[PHP]
    TElMessagePart AddPart(TElMessagePart $Part, bool $bMakeCopy, integer $PartIndex)
    void AddPart(TElMessagePart $Part)

Parameters

  • Part - added part
  • bMakeCopy - determines if data will be copied at once:
    True - data will be copied;
    False - data will be cached and then loaded when it is necessary.
  • PartIndex - determines place where new part will be added.
    0 - new part will be inserted as the first one.
    -1 - part will be added as the last one.

Description

    Use this method when you want to add one more part to the multipart part.

See also:     DeletePart     GetPart     PartsCount    

Discuss this help topic in SecureBlackbox Forum