Discuss this help topic in SecureBlackbox Forum

TElXMLSOAPClient.AddDateTimeParameter

TElXMLSOAPClient     See also     


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


Adds a new DateTime parameter to the list.

Declaration

[C#]
    int AddDateTimeParameter(string ParamName, DateTime Value);
    int AddDateTimeParameter(string ParamName, string ParamNamespaceURI, DateTime Value);

[VB.NET]
    Function AddDateTimeParameter(ByVal ParamName As String, ByVal Value As DateTime) As Integer
    Function AddDateTimeParameter(ByVal ParamName As String, ByVal ParamNamespaceURI As String, ByVal Value As DateTime) As Integer

[Pascal]
    function AddDateTimeParameter(const ParamName : XMLString; const Value : TElDateTime) : Integer; overload;
    function AddDateTimeParameter(const ParamName, ParamNamespaceURI : XMLString; const Value : TElDateTime) : Integer; overload;

[C++]
    int32_t AddDateTimeParameter(const sb_u16string &ParamName, int64_t Value);
    int32_t AddDateTimeParameter(const std::wstring &ParamName, int64_t Value);
    int32_t AddDateTimeParameter(const sb_u16string &ParamName, const sb_u16string &ParamNamespaceURI, int64_t Value);
    int32_t AddDateTimeParameter(const std::wstring &ParamName, const std::wstring &ParamNamespaceURI, int64_t Value);

[PHP]
    integer AddDateTimeParameter(string $ParamName, DateTime $Value)
    integer AddDateTimeParameter(string $ParamName, string $ParamNamespaceURI, DateTime $Value)

[Java]
    int addDateTimeParameter(String ParamName, String ParamNamespaceURI, Date Value);
    int addDateTimeParameter(String ParamName, Date Value);

Parameters

  • ParamName - the name of the new parameter.
  • ParamNamespaceURI - the namespace URI of the new parameter.
  • Value - the value of the new parameter.

Return value

Returns the index of the newly added item in the list on success, and -1 on failure.

Description

This is a convenience method for adding a DateTime message operation parameter.

See also:     Add parameters to SOAP message     AddParameter     Parameters    

Discuss this help topic in SecureBlackbox Forum