Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / Interval<T> Class / ChangeInterval Method
The lower boundary of the interval.
The higher boundary of the interval.
Example
In This Topic
    ChangeInterval Method
    In This Topic
    Change values of the interval.
    Syntax
    public void ChangeInterval( 
       T lowerValue,
       T higherValue
    )

    Parameters

    lowerValue
    The lower boundary of the interval.
    higherValue
    The higher boundary of the interval.
    Example
    The following example shows how to change values in the interval.
    Interval<int> interval = new Interval<int>(-15, 23);
    
    // Change values of the interval.
    interval.ChangeInterval(5, 23);
    
    Console.WriteLine(interval.ToString());
    
    // Result: "5 ~ 23"
    See Also