Discuss this help topic in SecureBlackbox Forum

TElMessageHeaderField.GetParamIndexByName

TElMessageHeaderField     See also     


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


Returns parameter index by its name.

Declaration

[C#]
    int GetParamIndexByName(string ParamName);

[VB.NET]
    Function GetParamIndexByName(ByVal ParamName As String) As Integer

[Pascal]
    function GetParamIndexByName(const ParamName: TWideString): Integer;

[C++]
    int32_t GetParamIndexByName(const sb_u16string &ParamName);
    int32_t GetParamIndexByName(const std::wstring &ParamName);

[PHP]
    integer GetParamIndexByName(string $ParamName)

[Java]
    int getParamIndexByName(String ParamName);

Parameters

  • ParamName - parameter name

Return value

    Parameter index if the parameter was found.
    Returns -1 if there is no parameter with name ParamName.

Description

    Use this method to get parameter index by its name.

See also:     GetParamName     GetParamValue     IsParamExists    

Discuss this help topic in SecureBlackbox Forum