Harness proD API Help
EPLAN.Harness.API.DataStructures Namespace / PartVersion Class / PartVersion Constructor / PartVersion Constructor(Int32,Int32,Int32)
Major part of version number. Valid range: 1 - 99
Minor part of version number. Valid range: 0 - 99
Revision part of version number. Valid range: 0 - 9999. Default value is 0.
In This Topic
    PartVersion Constructor(Int32,Int32,Int32)
    In This Topic
    Create a PartVersion object. The format of version number is <major>.<minor>.<revision> , example: 1.0.15 . If the input is invalid the EPLAN.Harness.API.Exceptions.ArgumentException will be thrown.
    Syntax
    public PartVersion( 
       int major,
       int minor,
       int revision
    )

    Parameters

    major
    Major part of version number. Valid range: 1 - 99
    minor
    Minor part of version number. Valid range: 0 - 99
    revision
    Revision part of version number. Valid range: 0 - 9999. Default value is 0.
    Exceptions
    ExceptionDescription
    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    See Also