CRaPI - Correct Robust and Perfect API

InfoBase.getDouble Method (String, Boolean)

Divides a two value attribute, and returns the requested value.

public double getDouble(
   string pKey,
   bool pFirst
);

Parameters

pKey
Which attribute that is wanted.
pFirst
If it is the first or the second value.

Return Value

The value, or -1 if there is no attribute mapping to pKey.

Remarks

When an attribute has two values, this method can used to divide the values in two parts, as the values are stored as one string in the hashtable.

See Also

InfoBase Class | TeamYaffa.CRaPI.Info Namespace | InfoBase.getDouble Overload List | getDouble