DataSourceVersionComparer.CompareTo(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.