Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / ViscosityProperty Class / Implicit Type Conversion Operator
Text form of viscosity to store in the property.
Example
In This Topic
    Implicit Type Conversion Operator (ViscosityProperty)
    In This Topic
    Implicit conversion from System.String to ViscosityProperty.
    Syntax
    public ViscosityProperty operator implicit( 
       string value
    )

    Parameters

    value
    Text form of viscosity to store in the property.

    Return Value

    New ViscosityProperty created from the given System.String value.
    Example
    ViscosityProperty viscosityProperty1 = "42 Pa.sec";
    ViscosityProperty viscosityProperty2 = "42Pa.sec";
    ViscosityProperty viscosityProperty3 = "42";
    // Unit of viscosityProperty3 depends on Harness proD settings!
    See Also