ParamSet.getUnsigned

Obtains the parameter value corresponding to key which is expected to be an unsigned decimal integer number and not empty. key must be one of the parameter keys passed on instantiation or added by a subclass.

  1. bool getUnsigned(cstring key, T n, bool is_set)
    class ParamSet
    bool
    getUnsigned
    (
    T : ulong
    )
    (,
    ref T n
    ,
    out bool is_set
    )
  2. bool getUnsigned(cstring key, T n)

Parameters

key cstring

parameter key (case insensitive)

n T

result destination; will be changed only if a value exists for key

is_set bool

will be changed to true if a value exists for key (even if it is empty or not an unsigned decimal integer number)

Return Value

Type: bool

true on success or false if either no value exists for key or the value is empty or not an unsigned decimal integer number or.

Throws

Behaves like regular associative array indexing using key as key.

Meta