SortedList « Data Structure « VB.Net

Home
VB.Net
1.2D
2.Application
3.Class
4.Data Structure
5.Data Types
6.Database ADO.net
7.Date Time
8.Development
9.Event
10.File Directory
11.Generics
12.GUI
13.Internationalization I18N
14.Language Basics
15.LINQ
16.Network Remote
17.Reflection
18.Security
19.Thread
20.Windows Presentation Foundation
21.Windows System
22.XML
23.XML LINQ
VB.Net Tutorial
VB.Net by API
VB.Net » Data Structure » SortedListScreenshots 
1.Create a SortedList using the default comparer
2.Create a SortedList using the specified case-insensitive comparer
3.Create a SortedList using the CaseInsensitiveComparer based on the Turkish culture (tr-TR)
4.Create a SortedList using the StringComparer.InvariantCultureIgnoreCase value
5.Simple Example for Sorted ListSimple Example for Sorted List
6.Create Case Insensitive Sorted ListCreate Case Insensitive Sorted List
7.Output Items in a SortedListOutput Items in a SortedList
8.SortedList Class represents a collection of key/value pairs that are sorted by the keys
9.Create a SortedList using the default comparer
10.Create a SortedList using the specified case-insensitive comparer
11.Create a SortedList using the specified CaseInsensitiveComparer
12.Create a SortedList using the StringComparer.InvariantCultureIgnoreCase value
13.Create SortedList that contains elements from dictionary
14.SortedList(TKey, TValue) represents a collection of key/value pairs that are sorted by key based
15.The Add method throws an exception if the new key is already in the list.
16.Item property is the default property, so you can omit its name when accessing elements
17.The default Item property can be used to change the value associated with a key
18.If a key does not exist, setting the default Item property for that key adds a new key/value pair
19.The default Item property throws an exception if the requested key is not in the list
20.TryGetValue can be a more efficient way to retrieve values
21.ContainsKey can be used to test keys before inserting them
22.When using foreach to enumerate list elements, the elements are retrieved as KeyValuePair objects
23.To get the values alone, use the Values property
24.The Values property is an efficient way to retrieve values by index
25.To get the keys alone, use the Keys property
26.The Keys property is an efficient way to retrieve keys by index
27.Use the Remove method to remove a key/value pair
28.SortedList.Add Method adds key and value to a SortedList object.
29.SortedList.Clear Method removes all elements from a SortedList object.
30.SortedList.Contains Method determines whether a SortedList object contains a specific key.
31.SortedList.CopyTo Method copies SortedList to a one-dimensional Array
32.SortedList.GetByIndex Method gets the value at the specified index of a SortedList object.
33.SortedList.IndexOfKey Method returns the zero-based index of the specified key in a SortedList object.
34.Searches for a specific key
35.Searches for a specific value
36.SortedList.IsSynchronized Property tells whether access to a SortedList object is synchronized (thread safe).
37.SortedList.Remove removes element with the specified key from a SortedList object.
38.SortedList.SetByIndex Method replaces the value at a specific index in a SortedList object.
w_w__w.___j_av__a__2___s___.__c_o__m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.