PropertiesGetDecimalValue Method (String, Decimal) |
Returns a value as an decimal for a property in the collection. If the property doesn't exist, 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 decimal GetDecimalValue(
string name,
decimal defaultValue
)
Public Function GetDecimalValue (
name As String,
defaultValue As Decimal
) As Decimal
Parameters
- name
- Type: SystemString
The property name. - defaultValue
- Type: SystemDecimal
The default value if the property doesn't exist.
Return Value
Type:
DecimalThe value of the property as an integer
See Also