get_integer


Description:

public int get_integer (string key)

Get an integer configuration value.

Parameters:

this

an instance of Config

key

the key name

Returns:

the value corresponding to the key as an integer. If the key does not exist or cannot be converted to the integer, 0 is returned.