DataSourceVersionComparer Members

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

The DataSourceVersionComparer type exposes the following members.

Constructors

  Name Description
Public method DataSourceVersionComparer Overloaded.

Top

Methods

  Name Description
Public method Compare Compares two data-source version strings and returns a value indicating whether one is less than, equal to, or greater than the other.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member Default Retrieves a default instance of this class that uses a default comparison mechanism that is both culture and case sensitive.

Top

Properties

  Name Description
Protected property Comparer Retrieves or sets the IComparer object with which to perform a comparison.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IComparer<String>.Compare Compares two data-source version strings and returns a value indicating whether one is less than, equal to, or greater than the other.

Top

See Also

Reference

DataSourceVersionComparer Class

Microsoft.VisualStudio.Data Namespace