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

    Parameters

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