Harness proD API Help
EPLAN.Harness.API.DataStructures Namespace / PartVersion Class / PartVersion Constructor / PartVersion Constructor(Int32)
Version number as an encoded integer.
In This Topic
    PartVersion Constructor(Int32)
    In This Topic
    Create a PartVersion object by the encoded integer number. The input is a number where M - major part, I - minor part, R - revision: MMIIRRRR. For example: 1050007 ->1.5.7 If the input is invalid the EPLAN.Harness.API.Exceptions.ArgumentException will be thrown. See valid ranges in the previous constructor's description.
    Syntax
    public PartVersion( 
       int version
    )

    Parameters

    version
    Version number as an encoded integer.
    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