Discuss this help topic in SecureBlackbox Forum

TElMessageHeaderField Constructor

TElMessageHeaderField     See also     


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


Creates an instance of TElMessageHeaderField class and returns a reference to newly created instance.

Declaration

[C#]
    TElMessageHeaderField();
    TElMessageHeaderField(string AName, string AValue);
    TElMessageHeaderField(byte[] Source, ref int Offset, string Charset, bool IgnoreNativeCharset);

[VB.NET]
    Sub New()
    Sub New(ByVal AName As String, ByVal AValue As String)
    Sub New(ByVal Source As Byte(), ByRef Offset As Integer, ByVal Charset As String, ByVal IgnoreNativeCharset As Boolean)

[Pascal]
    constructor Create;
    constructor Create(const AName, AValue: TString);
    constructor Create(const Source: AnsiString; var Offset: Integer; const Charset: AnsiString; IgnoreNativeCharset: Boolean = False);

[C++]
    not available

[PHP]
    not available

[Java]
    public TElMessageHeaderField(AnsistringClass Source, int[] Offset, String Charset, boolean IgnoreNativeCharset);
    public TElMessageHeaderField(String AName, String AValue);
    public TElMessageHeaderField();

Parameters

  • AName - name of the new header field.
  • AValue - value of the new header field.
  • Charset - charset of the header field text.
  • Source - string from which the header must be read.
  • SourcePos - position in the Source from which header field begins.
  • Offset - position in the Source from which header field begins.
  • IgnoreNativeCharset - determines what charset must be applied to the message header.
    True - the one specified in Charset
    False - the one specified in message if it exists or specified in Charset if there is no charset specified in the message.
    Default value - False

Description

    Use this method to create a new instance of TElMessageHeaderField class.

See also:     Destructor    

Discuss this help topic in SecureBlackbox Forum