Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Hashtable Properties

The properties of the Hashtable class are listed here. For a complete list of Hashtable class members, see the Hashtable Members topic.

Public Properties

public propertyCount

Supported by the .NET Compact Framework.

Gets the number of key-and-value pairs contained in the Hashtable.
public propertyIsFixedSize

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Gets a value indicating whether access to the Hashtable is synchronized (thread-safe).
public propertyItem Gets or sets the value associated with the specified key.

In C#, this property is the indexer for the Hashtable class.

public propertyKeys

Supported by the .NET Compact Framework.

Gets an ICollection containing the keys in the Hashtable.
public propertySyncRoot

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Gets an ICollection containing the values in the Hashtable.

Protected Properties

protected propertycomparer

Supported by the .NET Compact Framework.

Gets or sets the comparer to use for the Hashtable.
protected propertyhcp

Supported by the .NET Compact Framework.

Gets or sets the object that can dispense hash codes.

See Also

Hashtable Class | System.Collections Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.