Version Class
Represents a version number.
Definition
Members Table
The following table lists the members exposed by the Version object. Click a tab on the left to choose the type of member you want to view.
Methods
| Method | Description |
|---|
| Clone | Returns a new Version whose value is the same as this instance. |
| CompareTo | Compares this instance to a specified object. |
| Equals | Overloaded. Compares two objects to determine if they are equal. |
| GetHashCode | Overriden. Returns a hash code for this instance. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object) |
| ToString | Overloaded. Converts the value of this instance to its equivalent string representation. |
| Version | Overloaded. Initializes a new instance of Version. |
Properties
| Property | Description |
|---|
| Build | Gets the value of the build component of the version number for this instance. |
| Major | Gets the value of the major component of the version number for this instance. |
| Minor | Gets the value of the minor component of the version number for this instance. |
| Revision | Gets the value of the revision component of the version number for this instance. |
Operators
| Operator | Description |
|---|
| operator != | Determines whether two specified instances of Version are not equal. |
| operator < | Determines whether the first specified instance of Version is less than the second specified instance of Version. |
| operator <= | Determines whether the first specified instance of Version is less than or equal to the second instance of Version. |
| operator == | Determines whether two specified instances of Version are equal. |
| operator > | Determines whether the first specified instance of Version is greater than the second specified instance of Version. |
| operator >= | Determines whether the first specified instance of Version is greater than or equal to the second instance of Version. |
Inheritance Hierarchy
ObjectVersion
Remarks
A version is represented by Build, Major, Minor, Revision numbers, written as "Build.Major.Minor. Revision".
Class Information
| Namespace | System |
|---|
| Flash Library | corlib.scl |
|---|
| Flash Library Version | 2.0.0.2466 |
|---|
| Silverlight Library | System.Windows.Forms.dll |
|---|