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!

Index Based Named Collections

Need description here.

class <Value>IndexedDictionary : ICollection {

   // ICollection
   public void ICollection.CopyTo(Array array, int index);  //Creates an array of DictionaryEntries (private) 
   IEnumerator IEnumerator.GetEnumerator(); //Enumerates over DictionaryEntries (private)
   //The return value must be castable to IDictionaryEnumerator
   //Used directly, the IEnumerator enumerates over the values. 

   public int Count {get;}; 
   public Object ICollection.SyncRoot {get;};  // private
   public boolean ICollection.IsSynchronized {get;}; // private
   
   public void CopyTo(DictionaryEntry[] array, int index);
   public IDictionaryEnumerator GetEnumerator ();

   // Design Pattern  
   public virtual void Clear ();
   public virtual bool ContainsKey (<Key> key);
   public virtual bool Contains (<Value>  value);
   public virtual <Value> this[<Key> key] {get;};
   public virtual <Value> Get[int index] {get;};
   public virtual void Remove (<Key>  key);
   public virtual void RemoveAt(int index);
   public virtual int Add (<Key> key, <Value> value);
   public virtual void Insert (int index, <Key> Key, <Value> value);
   public int IndexOf (<item> value); 


}