FeaturesGetStringValue Method (String, 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 featureName,
string propertyName,
string defaultValue
)
Public Function GetStringValue (
featureName As String,
propertyName As String,
defaultValue As String
) As String
Parameters
- featureName
- Type: SystemString
The name of the feature. - propertyName
- Type: SystemString
The name of the property. - defaultValue
- Type: SystemString
The default value if the feature is missing or the property isn't defined on the feature object.
Return Value
Type:
StringThe value of the property if found and non-blank, else the defaultValue.
See Also