Dictionary « 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 » Data Structure » DictionaryScreenshots 
1.Get parent directoryGet parent directory
2.Create directory with drive letter and without drive letterCreate directory with drive letter and without drive letter
3.Delete a DirectoryDelete a Directory
4.Check if a directory does not exist, create a directoryCheck if a directory does not exist, create a directory
5.Get and set current working directoryGet and set current working directory
6.List all files under a directoryList all files under a directory
7.List all Directories under a directoryList all Directories under a directory
8.Make Dictionary based on your own Object
9.Your own Generic List Dictionary Your own Generic List Dictionary
10.Add some elements to the dictionary. There are no duplicate keys, but some of the values are duplicates.
11.The Add method throws an exception if the new key is already in the dictionary.
12.The Item property is the default property
13.The default Item property can be used to change the value associated with a key
14.If a key does not exist, setting the default Item property for that key adds a new key/value pair
15.The default Item property throws an exception if the requested key is not in the dictionary
16.TryGetValue can be a more efficient way to retrieve values
17.ContainsKey can be used to test keys before inserting them
18.When you use foreach to enumerate dictionary elements, the elements are retrieved as KeyValuePair objects.
19.To get the values, use the Values property
20.To get the keys alone, use the Keys property
21.Use the Remove method to remove a key/value pair
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.