Mono Class Library: Overview

System.Version: Members

The members of System.Version are listed below.

See Also: Inherited members from System.Object

Public Constructors

Constructs and initializes a new instance of the Version class.
Constructs and initializes a new instance of the Version class using the values represented by the specified string.
Constructs and initializes a new instance of the Version class using the specified major and minor values.
Constructs and initializes a new instance of the Version class using the specified major, minor, and build values.
Constructs and initializes a new instance of the Version class with the specified major, minor, build, and revision numbers.

Public Properties

[read-only]
Buildint. Gets the value of the build component of the current instance.
[read-only]
Majorint. Gets the value of the major component of the current instance.
[read-only]
MajorRevisionshort. Documentation for this section has not yet been entered.
[read-only]
Minorint. Gets the value of the minor component of the current instance.
[read-only]
MinorRevisionshort. Documentation for this section has not yet been entered.
[read-only]
Revisionint. Gets the value of the revision component of the current instance.

Public Methods

Clone() : object
Returns a new object with values equal to the property values of the current instance.
CompareTo(object) : int
Returns the sort order of the current instance compared to the specified object.
CompareTo(Version) : int
Returns the sort order of the current instance compared to the specified Version.
override
Equals(object) : bool
Determines whether the current instance and the specified object represent the same type and value.
Equals(Version) : bool
Determines whether the current instance and the specified Version represent the same value.
override
GetHashCode() : int
Generates a hash code for the current instance.
override
ToString() : string
Documentation for this section has not yet been entered.
ToString(int) : string
Documentation for this section has not yet been entered.

Public Operators

static
Equality(Version, Version) Determines whether two instances of Version are equal.
static
GreaterThan(Version, Version) Determines whether the first instance of Version is greater than the second instance of Version.
static
GreaterThanOrEqual(Version, Version) Determines whether the first instance of Version is greater than or equal to the second instance of Version.
static
Inequality(Version, Version) Determines whether two instances of Version are not equal.
static
LessThan(Version, Version) Determines whether the first instance of Version is less than the second instance of Version.
static
LessThanOrEqual(Version, Version) Determines whether the first instance of Version is less than or equal to the second instance of Version.