PropertiesGetStringValue Method (String, String) |
Returns a value for a property in the collection. If the property doesn't exist or is blank,
then the defaultValue is returned.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public string GetStringValue(
string name,
string defaultValue
)
Public Function GetStringValue (
name As String,
defaultValue As String
) As String
Parameters
- name
- Type: SystemString
The name of the property. - defaultValue
- Type: SystemString
The value to return if the property does not exist or is blank.
Return Value
Type:
StringThe value of the property if found and non-blank, else the defaultValue.
See Also