Share via


DataSourceVersionComparer.CompareTo(String) Method

Definition

Compares the current data-source version in this class with the specified data-source version.

public:
 virtual int CompareTo(System::String ^ other);
public int CompareTo (string other);
abstract member CompareTo : string -> int
override this.CompareTo : string -> int
Public Function CompareTo (other As String) As Integer

Parameters

other
String

The version number to compare.

Returns

Returns one of three integer values:Less than zero: SourceVersion is less than other.Equal to zero: SourceVersion is equal to other.Greater than zero: SourceVersion is greater than other.

Implements

Applies to