Discuss this help topic in SecureBlackbox Forum

TElMessage.MainPart

TElMessage     See also     


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


This is the main part of the message. Its header fields are message ones.

Declaration

[C#/Java]
    TElMessagePart MainPart;
    TElMessagePart SetMainPart([in] TElMessagePart AMainPart, bool bMakeCopy);

[VB.NET]
    Property MainPart As TElMessagePart
    Function SetMainPart(ByVal AMainPart As TElMessagePart, ByVal bMakeCopy As Boolean) As TElMessagePart

[Pascal]
    property MainPart : TElMessagePart;
    public function SetMainPart(const AMainPart: TElMessagePart; bMakeCopy: Boolean): TElMessagePart;

[C++]
    TElMessagePart* get_MainPart();

[PHP]
    TElMessagePart get_MainPart()

Parameters

  • AMainPart - determines the main part of the message.
  • 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.

Description

    MainPart represents the main part of the message body. Its header is message header and its body is message one. If we imagine the message as a tree where the enclosed parts are branches than MainPart will be the root branch. You can not access the enclosed parts directly from the message. Use MainPart for this purpose.

See also:     MessagePart    

Discuss this help topic in SecureBlackbox Forum