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

    Parameters

    value
    Text form of mass to store in the property.

    Return Value

    New MassProperty created from the given System.String value.
    Example
    MassProperty massProperty1 = "42 kg";
    MassProperty massProperty2 = "42kg";
    MassProperty massProperty3 = "42";
    // Unit of massProperty3 depends on Harness proD settings!
    See Also