DataSourceVersionComparer Class

Definition

Provides the means to compare two data-source-specific version strings.

C++
public ref class DataSourceVersionComparer : System::Collections::Generic::IComparer<System::String ^>
Inheritance
DataSourceVersionComparer
Attributes
Implements

Constructors

DataSourceVersionComparer()

Class constructor. Instantiates a new instance of the DataSourceVersionComparer class.

DataSourceVersionComparer(IComparer<String>)

Class constructor. Instantiates a new instance of the DataSourceVersionComparer class using an IComparer object.

Fields

Default

Retrieves a default instance of this class that uses a default comparison mechanism that is both culture and case sensitive.

Properties

Comparer

Retrieves or sets the IComparer object with which to perform a comparison.

Methods

Compare(String, String)

Compares two data-source version strings and returns a value indicating whether one is less than, equal to, or greater than the other.

Explicit Interface Implementations

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022