| IConfigurationGetStringValue Method (String, String) |
Gets the value of a property as a string, or a default value if the
specified property does not exist or its value can not be properly converted.
Namespace:
Mastersign.Bench.PropertyCollections
Assembly:
BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax string GetStringValue(
string name,
string def
)
Function GetStringValue (
name As String,
def As String
) As String
Parameters
- name
- Type: SystemString
The name of the property. - def
- Type: SystemString
The default value.
Return Value
Type:
StringA string or
def if the property does not exist,
or its value can not be properly converted.
See Also