Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / TimeProperty Class / TimeProperty Constructor / TimeProperty Constructor(Double,Unit)
The value of time.
The unit of time value.
Example
In This Topic
    TimeProperty Constructor(Double,Unit)
    In This Topic
    Creates a new instance of the TimeProperty with the specified value and unit.
    Syntax
    public TimeProperty( 
       double value,
       Unit unit
    )

    Parameters

    value
    The value of time.
    unit
    The unit of time value.
    Exceptions
    ExceptionDescription
    Thrown when the unit is not valid for this property.
    Example
    The following example shows how to create a new TimeProperty .
    TimeProperty timeProperty = new TimeProperty(42.0, Unit.Second);
    See Also