DataSourceVersionComparer.Comparer Property

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

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Property Comparer As IComparer(Of String)
    Get
    Set
protected IComparer<string> Comparer { get; set; }
protected:
property IComparer<String^>^ Comparer {
    IComparer<String^>^ get ();
    void set (IComparer<String^>^ value);
}
member Comparer : IComparer<string> with get, set
function get Comparer () : IComparer<String>
function set Comparer (value : IComparer<String>)

Property Value

Type: System.Collections.Generic.IComparer<String>
An IComparer<T> object instance.

Exceptions

Exception Condition
ArgumentNullException

The value to be set is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DataSourceVersionComparer Class

Microsoft.VisualStudio.Data.Framework Namespace

IComparer<T>