MyVersionInt Property
      
 

Description

Provides indexed access to local version information.


Property type

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


Syntax

object.MyVersionInt(Index) [= value]



The MyVersionInt Property syntax has these parts:

Part Description
object An expression evaluating to an object of type UpdFile.
Index Required. An Integer value. Index of subversion number in version information.
value A 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..