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

    Parameters

    value
    The value of voltage 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 VoltageProperty .
    VoltageProperty voltageProperty = new VoltageProperty("42 V");
    See Also