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

    Parameters

    value
    The value of power 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 PowerProperty.
    PowerProperty powerProperty = new PowerProperty("42 W");
    See Also