IDictionary.cs 659 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
  2. //
  3. // System.Collections.IDictionary
  4. //
  5. // Author:
  6. // Vladimir Vukicevic ([email protected])
  7. //
  8. // (C) 2001 Vladimir Vukicevic
  9. //
  10. using System;
  11. namespace System.Collections {
  12. public interface IDictionary : ICollection {
  13. // properties
  14. bool IsFixedSize { get; }
  15. bool IsReadOnly { get; }
  16. object this[object key] { get; set; }
  17. ICollection Keys { get; }
  18. ICollection Values { get; }
  19. // methods
  20. void Add (object key, object value);
  21. void Clear ();
  22. bool Contains (object key);
  23. new IDictionaryEnumerator GetEnumerator ();
  24. void Remove (object key);
  25. }
  26. }