Nini Library API Reference - http://nini.sourceforge.net/ |

# ConfigBase.GetBoolean Method (String)

Returns a boolean key value.

public bool GetBoolean(
string key
);

#### Parameters

key
  Configuration key.

#### Implements

IConfig.GetBoolean

#### Remarks

In order to get boolean values you will need to set the Alias property correctly. See the Nini Manual for more information.

#### Exceptions

Exception Type | Condition
--- | ---
Exception | No key was found.

#### See Also

ConfigBase Class | Nini.Config Namespace | ConfigBase.GetBoolean Overload List