Name

CaseInsensitiveComparer

Synopsis

This type provides a means for case-insensitive comparison of string objects. This class implements the IComparer.Compare() method.

Public Class CaseInsensitiveComparer : Implements IComparer
' Public Constructors
   Public Sub New() 
   Public Sub New(
        ByVal culture As System.Globalization.CultureInfo) 
' Public Shared Properties
   Public Shared ReadOnly Property Default As CaseInsensitiveComparer  
' Public Instance Methods
   Public Function Compare(ByVal a As Object, 
        ByVal b As Object) As Integer Implements IComparer.Compare 
End Class

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.