DataSourceVersionComparer Class

Definition

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

public ref class DataSourceVersionComparer : Microsoft::VisualStudio::Data::Framework::DataSiteableObject<Microsoft::VisualStudio::Data::Services::IVsDataConnection ^>, IComparable<System::String ^>, Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataSourceVersionComparer
public class DataSourceVersionComparer : Microsoft.VisualStudio.Data.Framework.DataSiteableObject<Microsoft.VisualStudio.Data.Services.IVsDataConnection>, IComparable<string>, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataSourceVersionComparer
type DataSourceVersionComparer = class
    inherit DataSiteableObject<IVsDataConnection>
    interface IVsDataSourceVersionComparer
    interface IComparable<string>
Public Class DataSourceVersionComparer
Inherits DataSiteableObject(Of IVsDataConnection)
Implements IComparable(Of String), IVsDataSourceVersionComparer
Inheritance
DataSourceVersionComparer
Implements

Constructors

DataSourceVersionComparer()

Initializes a new instance of the DataSourceVersionComparer class.

DataSourceVersionComparer(IComparer<String>)

Initializes a new instance of the DataSourceVersionComparer class.

Properties

Comparer

Gets or sets the IComparer<T> object with which to perform a comparison.

Site

Gets or sets the object site.

(Inherited from DataSiteableObject<T>)
SourceVersion

Gets the data source version from the sited connection, if any.

Methods

CompareTo(String)

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

OnSiteChanged(EventArgs)

Raises the SiteChanged event.

(Inherited from DataSiteableObject<T>)

Events

SiteChanged

Occurs when the Site property is changed.

(Inherited from DataSiteableObject<T>)

Applies to