GenApiVersion Structure

CVB.Net Documentation
Version information for GenICam related objects.

Namespace:  Stemmer.Cvb.GenApi
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public struct GenApiVersion : IEquatable<GenApiVersion>, 
	IComparable<GenApiVersion>, IComparable

The GenApiVersion type exposes the following members.

Properties

  NameDescription
Public propertyMajor
Gets or sets the major version number.
Public propertyMinor
Gets or sets the minor version number.
Public propertySubMinor
Gets or sets the sub-minor version number.
Top
Methods

  NameDescription
Public methodCompareTo
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.
Public methodEquals(Object)
Checks whether the given obj is a GenApiVersion with the same version number.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(GenApiVersion)
Checks whether the given other is a GenApiVersion with the same version number.
Public methodGetHashCode
Gets the hash code for this GenApiVersion.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Gets the string representation of this version.
(Overrides ValueTypeToString.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIComparableCompareTo
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.
Top
Remarks

The versions are managed as follows:
  • Major: An increase indicates a change which is not backward compatible.
  • Minor: An increase indicates a change which adds new features. It must still support old versions of the server instance.
  • SubMinor: An increase indicates a bug fix. No new features are added.
See Also

Reference