Partilhar via


DataSourceVersionComparer Class

Definition

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

public ref class DataSourceVersionComparer : System::Collections::Generic::IComparer<System::String ^>
[System.Runtime.InteropServices.Guid("38AFC6FE-E26A-4a33-ACF0-4E5D7F510746")]
public class DataSourceVersionComparer : System.Collections.Generic.IComparer<string>
[<System.Runtime.InteropServices.Guid("38AFC6FE-E26A-4a33-ACF0-4E5D7F510746")>]
type DataSourceVersionComparer = class
    interface IComparer<string>
Public Class DataSourceVersionComparer
Implements IComparer(Of 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

IComparer<String>.Compare(String, String)

Applies to