Share via


CollationInfo.Comparer Property

Gets an IComparer<T> object that can be used to compare strings.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public ReadOnly Property Comparer As IComparer(Of String)
    Get
'Usage
Dim instance As CollationInfo
Dim value As IComparer(Of String)

value = instance.Comparer
public IComparer<string> Comparer { get; }
public:
property IComparer<String^>^ Comparer {
    IComparer<String^>^ get ();
}
member Comparer : IComparer<string>
function get Comparer () : IComparer<String>

Property Value

Type: System.Collections.Generic.IComparer<String>
An IComparer<T> object that can be used to compare strings.