 | IGetValueGetValueT Method |
Returns exactly one value for a key. If there is no value for the
key, defaultValue is returned.
Namespace: NetEti.GlobalsAssembly: NetEti.Global (in NetEti.Global.dll) Version: 1.0.0+ad672dc5430e1683eae7461ce3945c8e9dce1c49
SyntaxT GetValue<T>(
string key,
T defaultValue
)
Function GetValue(Of T) (
key As String,
defaultValue As T
) As T
generic<type name T>
T GetValue(
String^ key,
T defaultValue
)
abstract GetValue :
key : string *
defaultValue : 'T -> 'T
Parameters
- key String
- The access key (string)
- defaultValue T
- The default result (string)
Type parameters
- T
- Type of concrete value.
Return value
TThe result string
See also