Discuss this help topic in SecureBlackbox Forum

TElMessageHeader.SetField

TElMessageHeader     See also     


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


Sets header field value.

Declaration

[C#]
    TElMessageHeaderField SetField(string Name, string Value, int Index, bool ClearParams);

[VB.NET]
    Function SetField(ByVal Name As String, ByVal Value As String, ByVal Index As Integer, ByVal ClearParams As Boolean) As TElMessageHeaderField

[Pascal]
    function SetField(const Name, Value: TString; Index: Integer = 0; ClearParams: Boolean = False): TElMessageHeaderField;

[C++]
    TElMessageHeaderFieldHandle SetField(const sb_u16string &Name, const sb_u16string &Value, int32_t Index, bool ClearParams);
    TElMessageHeaderFieldHandle SetField(const std::wstring &Name, const std::wstring &Value, int32_t Index, bool ClearParams);

[PHP]
    TElMessageHeaderField SetField(string $Name, string $Value, integer $Index, bool $ClearParams)

[Java]
    TElMessageHeaderField setField(String Name, String Value, int Index, boolean ClearParams);

Parameters

  • Name - field name.
  • Value - new field value.
  • Index - index of the field that must be changed among fields of the same name.
  • ClearParams - determines if field parameters will be deleted.
    Default value - False.

Description

    Use this method to set value of the existing field. You can either delete all field parameters or leave them without changing.

See also:     GetField    

Discuss this help topic in SecureBlackbox Forum