Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
ServerVersion..::CompareToVersion Method

Compares the current version to the given one.

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 10.3.0.4 (10.3.0.4)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public int CompareToVersion(
    	int major,
    	int minor,
    	int point
    )

    Public Function CompareToVersion ( _
    	major As Integer, _
    	minor As Integer, _
    	point As Integer _
    ) As Integer

    public:
    int CompareToVersion(
    	int major,
    	int minor,
    	int point
    )

#### Parameters

major
  Int32

minor
  Int32

point
  Int32

#### Return Value

0 if versions are equal, -1 if the current version is lower than the given value, or 1 if the current version is greater.

# See Also

ServerVersion Class
StreamBase.LiveView.API Namespace