(Inherits from MfObject)
Represents a version number. This class cannot be extended.
Sealed Class
Name |
Description |
|
Initializes a new instance of the MfVersion class. |
||
Initializes a new instance of the MfVersion class using the specified version. |
||
Initializes a new instance of the MfVersion class using the specified major and minor values. |
||
Initializes a new instance of the MfVersion class using the specified major, minor, and build values. |
||
Initializes a new instance of the MfVersion class with the specified major, minor, build, and revision numbers. |
Name |
Description |
|
Gets the value of the major component of the version number for the current MfVersion object. |
||
Gets the value of the minor component of the version number for the current MfVersion object. |
||
Gets the value of the build component of the version number for the current MfVersion object. |
||
Gets the value of the revision component of the version number for the current MfVersion object. |
||
Gets the high 16 bits of the revision number. |
||
Gets the low 16 bits of the revision number. |
Name |
Description |
|
Compares the current MfVersion object to a specified MfVersion object and returns an indication of their relative values. Overrides MfObject.CompareTo() |
||
Gets if current MfVersion instance is equal to objA instance. |
||
Gets if objA instance of MfVersion is equal to objB instance. |
||
Gets A hash code for the current MfException or derived class. Overrides MfObject.GethashCode(). |
||
Compares the current MfVersion object to a specified MfVersion object and returns a boolean indication of their relative values. |
||
Compares the current MfVersion object to a specified MfVersion object and returns an indication of their relative values. |
||
Gets the Type for the for the Class .Inherited from MfObject. |
||
Gets if current instance of object is of the same type. Inherited from MfObject. Inherited from MfObject. |
||
Get if the current class is an instance. Inherited from MfObject. |
||
Compares the current MfVersion object to a specified MfVersion object and returns an indication of their relative values. |
||
Compares the current MfVersion object to a specified MfVersion object and returns an indication of their relative values. |
||
Creates a shallow copy of the current MfObject instance. Inherited from MfObject. |
||
Converts the string representation of a version number to an equivalent MfVersion object. |
||
Converts the value of the current Version object to its equivalent String representation. Overrides MfObject.ToString(). |
||
Converts the value of the current Version object to its equivalent String representation. A specified count indicates the number of components to return. |
mfVer := new MfVersion("2.3.0.4")
MsgBox % mfVer.Major ; 2
MsgBox % mfVer.Minor ; 3
MsgBox % mfVer.Build ; 0
MsgBox % mfVer.Revision ; 4
MsgBox % mfVer.ToString() ; 2.3.0.4