 | BasicAppSettingsGetStringValue method |
Returns exactly one value for a key. If there is no value for the
key, defaultValue is returned.
Namespace: NetEti.ApplicationEnvironmentAssembly: NetEti.BasicAppSettings (in NetEti.BasicAppSettings.dll) Version: 1.0.0+fc721cf1d38e1de155fd33971356662ac9c21f21
Syntaxpublic string? GetStringValue(
string key,
string? defaultValue
)
Public Function GetStringValue (
key As String,
defaultValue As String
) As String
public:
virtual String^ GetStringValue(
String^ key,
String^ defaultValue
) sealed
abstract GetStringValue :
key : string *
defaultValue : string -> string
override GetStringValue :
key : string *
defaultValue : string -> string
Parameters
- key String
- The access key (string)
- defaultValue String
- The default result (string)
Return value
StringThe result string
Implemented
IGetStringValueGetStringValue(String, String)
See also