Discuss this help topic in SecureBlackbox Forum

TElWebDAVLock.StringToTimeout

TElWebDAVLock     See also     


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


Converts a string to timeout.

Declaration

[C#]
    static long StringToTimeout(string S);

[VB.NET]
    Shared Function StringToTimeout(ByVal S As String) As Long

[Pascal]
    class function StringToTimeout(const S : string) : Int64;

[C++]
    static int64_t StringToTimeout(const std::string &S);

[PHP]
    integer StringToTimeout(string $S)

[Java]
    static long stringToTimeout(TElWebDAVLock> this, String S);

Parameters

  • S - the string that contains timeout value.
  • this -

Return value

    Returns the timeout in seconds.
    If the string value is 'infinite' or 'infinity', the value of 4100000000 will be returned.

Description

    Use this method to convert a string to timeout. The format of the string is explained in RFC 4918.

See also:     TimeoutToString    

Discuss this help topic in SecureBlackbox Forum