Summary
Gets a single boolean value for a key, using the first
one if multiple values are present and returning the
default value if no entry is found.
- Namespace
- TCLite
.Interfaces - Containing Type
- IPropertyBag
Syntax
bool GetSetting(string key, bool defaultValue)
Parameters
| Name | Type | Description |
|---|---|---|
| key | string | |
| defaultValue | bool |
Return Value
| Type | Description |
|---|---|
| bool |
