Version

Version


Represents a version number in the format Major.Minor[.Build[.Revision]].


Implements:

ICloneable 
IComparable 
IObject 

Public:

Properties:

NameDescription
 Build (get) Gets the value of the build component of the version number for the current Version object.  
 Major (get) Gets the value of the major component of the version number for the current Version object.  
 MajorRevision (get) Gets the high 16 bits of the revision number.  
 Minor (get) Gets the value of the minor component of the version number for the current Version object.  
 MinorRevision (get) Gets the low 16 bits of the revision number.  
 Revision (get) Gets the value of the revision component of the version number for the current Version object.  

Methods:

NameDescription
 Clone Returns a new Version object whose value is the same as the current Version object.  
 CompareTo Compares the current Version object to a specified Version object and returns an indication of their relative values.  
 Equals Returns a value indicating whether the current Version object and a specified Version object represent the same value.  
 EqualTo Determines whether two specified Version objects are equal.  
 GetHashCode Returns a hash code for the current Version object.  
 GreaterThan Determines whether the current Version object is greater than the specified Version object.  
 GreaterThanOrEqualTo Determines whether the current Version object is greater than or equal to the specified Version object.  
 LessThan Determines whether the current Version object is less than the specified Version object.  
 LessThanOrEqualTo Determines whether the current Version object is less than or equal to the specified Version object.  
 NotEqualTo Determines whether the current Version object is not equal to the specified Version object.  
 ToString Converts the value of the current Version object to its equivalent string representation. A specified count indicates the number of components to return.  

See Also

Project CorLib Overview

Class Version Overview

Constructors

VersionStatic