Share via


CollationInfo.EqualityComparer Property

Gets an IEqualityComparer<T> object that can be used to compare strings for equality.

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

Syntax

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

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

Property Value

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

See Also

Reference

CollationInfo Class

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace