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

    Parameters

    value
    Text form of current to store in the property.

    Return Value

    New CurrentProperty created from the given System.String value.
    Example
    The following example shows how to convert a string to the CurrentProperty.
    CurrentProperty currentProperty1 = "42 A";
    CurrentProperty currentProperty2 = "42A";
    CurrentProperty currentProperty3 = "42";
    // Unit of currentProperty3 depends on Harness proD settings!
    See Also