Class StartsWithFindStringComparer
Implements IFindStringComparer using the string StartsWith method for comparison.
Inheritance
System.Object
StartsWithFindStringComparer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class StartsWithFindStringComparer : IFindStringComparer
Constructors
StartsWithFindStringComparer()
Declaration
public StartsWithFindStringComparer()
Methods
Compare(String, String)
Compares two strings using case-insensitive StartsWith logic.
Declaration
public bool Compare(string x, string y)
Parameters
System.String
x
The string to check. |
System.String
y
The string to search for at the beginning of x. |
Returns
System.Boolean
true if x starts with y (case-insensitive); otherwise, false. |