Version Methods
.NET Framework 4.5
The Version type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clone | Returns a new Version object whose value is the same as the current Version object. |
|
CompareTo(Object) | Compares the current Version object to a specified object and returns an indication of their relative values. |
|
CompareTo(Version) | Compares the current Version object to a specified Version object and returns an indication of their relative values. |
|
Equals(Object) | Returns a value indicating whether the current Version object is equal to a specified object. (Overrides Object.Equals(Object).) |
|
Equals(Version) | Returns a value indicating whether the current Version object and a specified Version object represent the same value. |
|
GetHashCode | Returns a hash code for the current Version object. (Overrides Object.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
Parse | Converts the string representation of a version number to an equivalent Version object. |
|
ToString() | Converts the value of the current Version object to its equivalent String representation. (Overrides Object.ToString().) |
|
ToString(Int32) | Converts the value of the current Version object to its equivalent String representation. A specified count indicates the number of components to return. |
|
TryParse | Tries to convert the string representation of a version number to an equivalent Version object, and returns a value that indicates whether the conversion succeeded. |
| Name | Description | |
|---|---|---|
|
IComparable.CompareTo | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. |