singrdk/base/Interfaces/Collections/IDictionary.csi

35 lines
840 B
Plaintext
Raw Permalink Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System;
2008-11-17 18:29:00 -05:00
namespace System.Collections
{
2008-03-05 09:52:00 -05:00
// An IDictionary is a possibly unordered set of key-value pairs.
// Keys can be any non-null object. Values can be any object.
// You can look up a value in an IDictionary via the default indexed
// property, Items.
public interface IDictionary : ICollection
{
Object this[Object key] { get; set; }
ICollection Keys { get; }
ICollection Values { get; }
bool Contains(Object key);
void Add(Object key, Object value);
void Clear();
bool IsReadOnly { get; }
bool IsFixedSize { get; }
new IDictionaryEnumerator GetEnumerator();
void Remove(Object key);
}
}