Discuss this help topic in SecureBlackbox Forum

TElMessagePart.DeletePart

TElMessagePart     See also     


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


Deletes enclosed part.

Declaration

[C#/Java]
    void DeletePart(int Index, bool bDestroy);
    void DeletePart(TElMessagePart Part, bool bDestroy);

[VB.NET]
    Sub DeletePart(ByVal Index As Integer, ByVal bDestroy As Boolean)
    Sub DeletePart(ByVal Part As TElMessagePart, ByVal bDestroy As Boolean)

[Pascal]
    procedure DeletePart(Index: Integer; bDestroy: Boolean = True);
    procedure DeletePart(Part: TElMessagePart; bDestroy: Boolean = True);

[C++]
    void DeletePart(int32_t Index, bool bDestroy);
    void DeletePart(TElMessagePart &Part, bool bDestroy);
    void DeletePart(TElMessagePart *Part, bool bDestroy);

[PHP]
    void DeletePart(integer $Index, bool $bDestroy)
    void DeletePart(TElMessagePart $Part, bool $bDestroy)

Parameters

  • Index - index of the part to be deleted.
  • Part - part to be deleted.
  • bDestroy - determines if object corresponding to the part must be destroyed. The default value is True.

Description

    Use this method to delete enclosed part.

See also:     AddPart     GetPart     PartsCount    

Discuss this help topic in SecureBlackbox Forum