Summary
Gets a single string 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
string GetSetting(string key, string defaultValue)
Parameters
| Name | Type | Description |
|---|---|---|
| key | string | |
| defaultValue | string |
Return Value
| Type | Description |
|---|---|
| string |
