Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / CurrencyProperty Class / CurrencyProperty Constructor / CurrencyProperty Constructor(Double,Unit)
The value of currency.
The unit of currency value.
Example
In This Topic
    CurrencyProperty Constructor(Double,Unit)
    In This Topic
    Creates a new instance of the CurrencyProperty with the specified value and unit.
    Syntax
    public CurrencyProperty( 
       double value,
       Unit unit
    )

    Parameters

    value
    The value of currency.
    unit
    The unit of currency value.
    Exceptions
    ExceptionDescription
    Thrown when the unit is not valid for this property.
    Example
    The following example shows how to create a new CurrencyProperty.
    CurrencyProperty currencyProperty = new CurrencyProperty(42.0, Unit.Euro);
    See Also