Version
Contents
[
Hide
]Version class
Represents a version number. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.
class Version
Methods
Method | Description |
---|---|
int CompareTo(const Version&) const | Compares the versions represented by the current object and the specified object. |
bool Equals(const Version&) const | Determines if the version numbers represented by the current and the specified objects are equal. |
int get_Build() const | Returns the build number. |
int get_Major() const | Returns the major version. |
int16_t get_MajorRevision() const | Returns the high 16-bit value of the revision number. |
int get_Minor() const | Returns the minor version. |
int16_t get_MinorRevision() const | Returns the low 16-bit value of the revision number. |
int get_Revision() const | Returns the revision number. |
int GetHashCode() const | Returns a hash code for the current object. |
static Version Parse(const String&) | Converts the string representation of a version number into equivalent instance of Version class. |
String ToString() const | Returns the string representation of the version number represented by the current object. |
String ToString(int) const | Returns the string representation of the specified number of sections of version number represented by the current object. |
Version(int, int, int, int) | Constructs an instance that represent the specified major, minor, build and revsion values. |
Version(int, int, int) | Constructs an instance that represent the specified major, minor and build values. |
Version(int, int) | Constructs an instance that represent the specified major and values. |
Version(const String&) | Constructs an instance that represent the version number represented as a string. |
Version() | Constructs an instance that represents version number 0.0.-1.-1. |
See Also
- Namespace System
- Library Aspose.Slides