DelphiBasics
  Home  |  Delphi .net Home  |  System.Collections NameSpace
 .NET Framework
 Namespace References

 System
 System.Collections
 
  ArrayList  Class 
  BitArray  Class 
  CaseInsensitiveComparer  Class 
  Comparer  Class 
  DictionaryEntry  Structure 
  HashTable  Class 
  ICollection  Interface 
  IComparer  Interface 
  IDictionary  Interface 
  IDictionaryEnumerator  Interface 
  IEnumerator  Interface 
  IList  Interface 
  Queue  Class 
  SortedList  Class 
  Stack  Class 
 System.Globalization
 System.IO

 Articles and Tutorials

 Overview of .NET
 Delphi and .NET
 Winform Applications
 ASP .Net Applications
 php Web Services
 Framework Collections
 Framework String Handling
 Framework Files and Folders


 
 
  System.Collections.IDictionary Interface
 
 Description
Collections are classes that literally hold collections of data, such as lists, queues and stacks. The IDictionary interface defines how such a collection should operate if it has DictionaryEntry elements.
 
The IDictionary interface provides the following methods :
 
Add Add an item to the list
Clear Clears the list : removes all items
Contains Checks if the list contains an item with a specific key
GetEnumerator Gets an object that implements the IDictionaryEnumerator interface
Remove Removes an item from the list
 Properties
IsFixedSize  Boolean  When implemented by a class, gets a value indicating whether the IDictionary has a fixed size.
IsReadOnly  Boolean  When implemented by a class, gets a value indicating whether the IDictionary is read-only.
Item  Object  When implemented by a class, gets or sets the element with the specified key. This is the principle property, and can be expressed using [] brackets.
Keys  ICollection  When implemented by a class, gets an ICollection containing the keys of the IDictionary.
Values  ICollection  When implemented by a class, gets an ICollection containing the values in the IDictionary.

 Delphi Basics links
 
System.Collections.DictionaryEntry
System.Collections.SortedList

 Microsoft MSDN links
 
System.Collections
System.Collections.idictionary
 
Delphi Programming © Neil Moffatt . All rights reserved.  |  Home Page