Interaction Workspace 8.0.0 .NET Developer's Guide and API Reference
Compare Method (versionA, versionB)
Namespaces ► Genesyslab.Desktop.Infrastructure.Comparer ► VersionNumberComparer ► Compare(String, String)
Compares two versions.
Declaration Syntax

C# | Visual Basic | Visual C++

    public static int Compare(
    	string versionA,
    	string versionB
    )

    Public Shared Function Compare ( _
    	versionA As String, _
    	versionB As String _
    ) As Integer

    public:
    static int Compare(
    	String^ versionA,
    	String^ versionB
    )

Parameters

versionA (String)
  The first version being compared (A).

versionB (String)
  The second version being compared (B).

Return Value
0 (zero), if the versions are equal. 1, if A is longer then B. -1, if B is longer then A.

Assembly: Genesyslab.Desktop.Infrastructure (Module: Genesyslab.Desktop.Infrastructure) Version: 8.0.2.15 (8.0.002.15)