Back to product page

MyVersionInt property


Provides indexed access to local version information.

Type

A Long value. Returns n-th part of MyVersion value (1st, 2nd, 3rd or 4th).

Syntax

  • Basic
object.MyVersionInt [= value]
The MyVersionInt(object,Index,value) syntax has these parts:
objectAn expression evaluating to an object of type UpdFile.
IndexRequired. An Integer value. Index of subversion number in version information.
valueA Long value.

Remarks

This property holds part of the MyVersion version information. Using this property you don't have to parse MyVersion property manually since MyVersionInt does it for you.

For instance, you can do this:
 
Debug.Print Upd1.Files(0).MyVersion
1.2.4.8
 
Debug.Print Upd1.Files(0).MyVersionInt(0)
1
 
Debug.Print Upd1.Files(0).MyVersionInt(1)
2
 

etc..

Platforms

Windows