This documentation is archived and is not being maintained.

CollectionsUtil.CreateCaseInsensitiveSortedList Method

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

[Visual Basic]
Public Shared Function CreateCaseInsensitiveSortedList() As _
   SortedList
[C#]
public static SortedList CreateCaseInsensitiveSortedList();
[C++]
public: static SortedList* CreateCaseInsensitiveSortedList();
[JScript]
public static function CreateCaseInsensitiveSortedList() :
   SortedList;

Return Value

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

Remarks

The new SortedList instance is sorted according to the CaseInsensitiveComparer.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CollectionsUtil Class | CollectionsUtil Members | System.Collections.Specialized Namespace | SortedList | CaseInsensitiveComparer | Performing Culture-Insensitive String Operations in Collections

Show: