System.Collections.Hashtable: Property Members

The properties of System.Collections.Hashtable are listed below. For a list of all members, see the Hashtable Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
Countint.

Gets the number of key/value pairs contained in the Hashtable.

[read-only]
IsFixedSizebool.

Gets a value indicating whether the Hashtable has a fixed size.

[read-only]
IsReadOnlybool.

Gets a value indicating whether the Hashtable is read-only.

[read-only]
IsSynchronizedbool.

Gets a value indicating whether access to the Hashtable is synchronized (thread safe).

default property
Item(object)object. Gets or sets the value in the current instance that is associated with the specified key.
[read-only]
KeysICollection.

Gets an ICollection containing the keys in the Hashtable.

[read-only]
SyncRootobject.

Gets an object that can be used to synchronize access to the Hashtable.

[read-only]
ValuesICollection.

Gets an ICollection containing the values in the Hashtable.

Protected Properties

comparerIComparer.

Gets or sets the IComparer to use for the Hashtable.

[read-only]
EqualityComparerIEqualityComparer.

Gets the IEqualityComparer to use for the Hashtable.

hcpIHashCodeProvider.

Gets or sets the object that can dispense hash codes.