Constructors
GH_Version
#public GH_Version(GH_Version other)
Copy constructor. Duplicate an existing version structure.
Parameters:
| other (GH_Version) | Version to duplicate. |
Fields
Methods
Equals
#Performs value equality comparison.
Parameters:
| obj (object) | Object to compare with. If obj is a null reference or not a GH_Version instance, false is returned. |
Returns: True if obj is a GH_Version instance which is equal to this one.
Overrides: ValueType.Equals
GetHashCode
#Returns the hash code for this instance.
Returns: A hash code for the current version object.
Overrides: ValueType.GetHashCode
ToString
#Default formatter for Version data: M.m.RRRR Revision section is padded with zeroes until it is at least 4 digits long.
Returns: A string represtation of the Version structure.
Overrides: ValueType.ToString
Operators
| Operation | Result | Description | ||
|---|---|---|---|---|
| GH_Version | == | GH_Version | bool | Compares two version structures for equality. |
| GH_Version | > | GH_Version | bool | Compares versions for larger than relationships. |
| GH_Version | >= | GH_Version | bool | Compares versions for larger than or equal to relationships. |
| GH_Version | != | GH_Version | bool | Compares two version structures for inequality. |
| GH_Version | < | GH_Version | bool | Compares versions for smaller than relationships. |
| GH_Version | <= | GH_Version | bool | Compares versions for smaller than or equal to relationships. |