Constructors: NewVersion

NewVersion

Creates a new Version object with specified version information.



 Public Function NewVersion(
	  ByVal Major As Long,
	  ByVal Minor As Long,
	  Optional ByRef Build As Variant,
	  Optional ByRef Revision As Variant ) As Version

Parameters

Major
[ByVal] Long. The number to describe an application level change.
Minor
[ByVal] Long. The number that describes a component level change.
Build
[ByRef] Optional. Variant. The number used to describe an integration compiling of the application.
Revision
[ByRef] Optional. Variant. Minor adjustments to the application.

Return Values

Version -  A new Version object.

See Also

Project CorLib Overview

Class Constructors Overview