The EmptyDictionary type exposes the following members.
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
Add |
Adds an element with the provided key and value to the
EmptyDictionary.
| |
Clear |
Removes all elements from the EmptyDictionary.
| |
Contains |
Determines whether the EmptyDictionary contains an element
with the specified key.
| |
CopyTo |
Copies the elements of the ICollection to an
Array, starting at a particular Array index.
| |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetEnumerator |
Returns an enumerator that can iterate through a collection.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Remove |
Removes the element with the specified key from the EmptyDictionary.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the ICollection | |
Instance |
Gets the singleton instance of the EmptyDictionary.
| |
IsFixedSize |
Gets a value indicating whether the EmptyDictionary has a fixed size.
| |
IsReadOnly |
Gets a value indicating whether the EmptyDictionary is read-only.
| |
IsSynchronized |
Gets a value indicating if access to the ICollection is synchronized (thread-safe).
| |
Item |
Gets or sets the element with the specified key.
| |
Keys |
Gets an ICollection containing the keys of the EmptyDictionary.
| |
SyncRoot |
Gets an object that can be used to synchronize access to the ICollection.
| |
Values |
Gets an ICollection containing the values of the EmptyDictionary.
|
See Also