Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides the means to compare two data-source-specific version strings.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataConnection>
Microsoft.VisualStudio.Data.Framework.DataSourceVersionComparer
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Class DataSourceVersionComparer _
Inherits DataSiteableObject(Of IVsDataConnection) _
Implements IVsDataSourceVersionComparer, IComparable(Of String)
public class DataSourceVersionComparer : DataSiteableObject<IVsDataConnection>,
IVsDataSourceVersionComparer, IComparable<string>
public ref class DataSourceVersionComparer : public DataSiteableObject<IVsDataConnection^>,
IVsDataSourceVersionComparer, IComparable<String^>
type DataSourceVersionComparer =
class
inherit DataSiteableObject<IVsDataConnection>
interface IVsDataSourceVersionComparer
interface IComparable<string>
end
public class DataSourceVersionComparer extends DataSiteableObject<IVsDataConnection> implements IVsDataSourceVersionComparer, IComparable<String>
The DataSourceVersionComparer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
DataSourceVersionComparer() | Initializes a new instance of the DataSourceVersionComparer class. |
![]() |
DataSourceVersionComparer(IComparer<String>) | Initializes a new instance of the DataSourceVersionComparer class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
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. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CompareTo | Compares the current data-source version in this class with the specified data-source version. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnSiteChanged | Raises the SiteChanged event. (Inherited from DataSiteableObject<T>.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
SiteChanged | Occurs when the Site property is changed. (Inherited from DataSiteableObject<T>.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.