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