Harness proD API Help
EPLAN.Harness.API.DataStructures Namespace / PartVersion Class / Compare Method
Compare with this version object.
If true compare major and minor part only. Optional parameter. The default value is false.
In This Topic
    Compare Method
    In This Topic
    Compare two version numbers stored in two PartVersion objects.
    Syntax

    Parameters

    anotherVersion
    Compare with this version object.
    ignoreRevision
    If true compare major and minor part only. Optional parameter. The default value is false.

    Return Value

    1 - if the input version is higher. 0 - if both version are same. -1 - if the input version is lower.
    See Also