Wed May 1 17:05:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / corlib / System.Collections / IDictionary.cs
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 (vladimir@pobox.com)
7 //
8 // (C) 2001 Vladimir Vukicevic
9 //
10
11 using System;
12
13 namespace System.Collections {
14
15         public interface IDictionary : ICollection {
16                 // properties
17
18                 bool IsFixedSize { get; }
19
20                 bool IsReadOnly { get; }
21
22                 object this[object key] { get; set; }
23
24                 ICollection Keys { get; }
25
26                 ICollection Values { get; }
27
28                 // methods
29
30                 void Add (object key, object value);
31
32                 void Clear ();
33
34                 bool Contains (object key);
35
36                 new IDictionaryEnumerator GetEnumerator ();
37
38                 void Remove (object key);
39         }
40 }