Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / QuantityProperty Class / QuantityProperty Constructor / QuantityProperty Constructor(String)
The value of quantity as a string.
Example
In This Topic
    QuantityProperty Constructor(String)
    In This Topic
    Creates a new instance of the QuantityProperty from the specified string value.
    Syntax
    public QuantityProperty( 
       string value
    )

    Parameters

    value
    The value of quantity as a string.
    Exceptions
    ExceptionDescription
    Thrown when the specified unit is not valid for this property.
    Example
    The following example shows how to create a new QuantityProperty.
    QuantityProperty quantityProperty = new QuantityProperty("42 x");
    See Also