Export (0) Print
Expand All

Version Members

Version overview

Public Constructors

public constructorVersion Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the Version class with the specified major, minor, build, and revision numbers.

Public Properties

public propertyBuild

Supported by the .NET Compact Framework.

Gets the value of the build component of the version number for this instance.
public propertyMajor

Supported by the .NET Compact Framework.

Gets the value of the major component of the version number for this instance.
public propertyMinor

Supported by the .NET Compact Framework.

Gets the value of the minor component of the version number for this instance.
public propertyRevision

Supported by the .NET Compact Framework.

Gets the value of the revision component of the version number for this instance.

Public Methods

public methodClone

Supported by the .NET Compact Framework.

Returns a new Version whose value is the same as this instance.
public methodCompareTo

Supported by the .NET Compact Framework.

Compares this instance to a specified object and returns an indication of their relative values.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Returns a value indicating whether this instance is equal to a specified object.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns a hash code for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString

Supported by the .NET Compact Framework.

Overloaded. Overridden. Converts the value of this instance to its equivalent String representation.

Public Operators

public operatorstatic (Shared in Visual Basic)Equality Operator

Supported by the .NET Compact Framework.

Determines whether two specified instances of Version are equal.
public operatorstatic (Shared in Visual Basic)Greater Than Operator

Supported by the .NET Compact Framework.

Determines whether the first specified instance of Version is greater than the second specified instance of Version.
public operatorstatic (Shared in Visual Basic)Greater Than Or Equal Operator

Supported by the .NET Compact Framework.

Determines whether the first specified instance of Version is greater than or equal to the second instance of Version.
public operatorstatic (Shared in Visual Basic)Inequality Operator

Supported by the .NET Compact Framework.

Determines whether two specified instances of Version are not equal.
public operatorstatic (Shared in Visual Basic)Less Than Operator

Supported by the .NET Compact Framework.

Determines whether the first specified instance of Version is less than the second specified instance of Version.
public operatorstatic (Shared in Visual Basic)Less Than Or Equal Operator

Supported by the .NET Compact Framework.

Determines whether the first specified instance of Version is less than or equal to the second instance of Version.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Version Class | System Namespace

Show:
© 2014 Microsoft