Version information for GenICam related objects. More...
Public Member Functions | |
override string | ToString () |
Gets the string representation of this version. | |
override bool | Equals (object obj) |
Checks whether the given obj is a GenApiVersion with the same version number. | |
bool | Equals (GenApiVersion other) |
Checks whether the given other is a GenApiVersion with the same version number. | |
override int | GetHashCode () |
Gets the hash code for this GenApiVersion. | |
int | CompareTo (GenApiVersion other) |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. | |
Properties | |
short | Major [get, set] |
Gets or sets the major version number. | |
short | Minor [get, set] |
Gets or sets the minor version number. | |
short | SubMinor [get, set] |
Gets or sets the sub-minor version number. | |
Version information for GenICam related objects.
The versions are managed as follows:
int CompareTo | ( | GenApiVersion | other | ) |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
other | Object to compare to this one. |
bool Equals | ( | GenApiVersion | other | ) |
Checks whether the given other is a GenApiVersion with the same version number.
other | Object to test for equality. |
override bool Equals | ( | object | obj | ) |
Checks whether the given obj is a GenApiVersion with the same version number.
obj | Object to test for equality. |
override int GetHashCode | ( | ) |
Gets the hash code for this GenApiVersion.
override string ToString | ( | ) |
Gets the string representation of this version.
|
getset |
Gets or sets the major version number.
Positive integer value containing the version number.
ArgumentOutOfRangeException | The value is smaller than zero. |
|
getset |
Gets or sets the minor version number.
Positive integer value containing the version number.
ArgumentOutOfRangeException | The value is smaller than zero. |
|
getset |
Gets or sets the sub-minor version number.
Positive integer value containing the version number.
ArgumentOutOfRangeException | The value is smaller than zero. |