CollectionsUtil.CreateCaseInsensitiveSortedList Method

Definition

Creates a new instance of the SortedList class that ignores the case of strings.

public:
 static System::Collections::SortedList ^ CreateCaseInsensitiveSortedList();
public static System.Collections.SortedList CreateCaseInsensitiveSortedList ();
static member CreateCaseInsensitiveSortedList : unit -> System.Collections.SortedList
Public Shared Function CreateCaseInsensitiveSortedList () As SortedList

Returns

A new instance of the SortedList class that ignores the case of strings.

Remarks

The new SortedList instance is sorted according to the CaseInsensitiveComparer.

Applies to

See also