NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IDictionary

IDictionary extends from ICollection and adds methods for using a key/value pairs.

public interface IDictionary extends ICollection {

  //From ICollections
   void CopyTo(Array array, int index); //Copies the dictionary entries to the array
   IEnumerator ICollection.GetEnumerator(); 
   //The return value must be castable to IDictionaryEnumerator
   //Used directly, the IEnumerator enumerates over the values. 
   property int Count;
   property Object SyncRoot;
   property boolean IsSynchronized;
   property boolean IsReadOnly;


   //IDictionary
   ICollection Keys {get;}; 
   ICollection Values {get;};
   Object this[Object key] {get;set};

   void CopyTo(DictionaryEntry [] array, int index);//not implemented 
   boolean Contains (Object value); //returns true if there is a key that equals value
   void Add (Object key, Object value);
   void Clear ();
   void Remove (Object key);
   IDictionayEnumerator GetEnumerator(); 
}