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

    Parameters

    value
    The value of mass 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 MassProperty.
    MassProperty massProperty = new MassProperty("42 kg");
    See Also