The KeyMap type exposes the following members.

Methods

  Name Description
Public method Add
Adds an element with the specified key and value into the Hashtable.
(Inherited from Hashtable.)
Public method AddHandler
Adds a handler to the keymap.
Public method CanHandle
Tests whether the current keymap can handle the keystroke.
Public method Clear
Removes all elements from the Hashtable.
(Inherited from Hashtable.)
Public method ClearHandler
Removes the handler for the specified keystroke from the keymap.
Public method Clone
Creates a shallow copy of the Hashtable.
(Inherited from Hashtable.)
Public method Contains
Determines whether the Hashtable contains a specific key.
(Inherited from Hashtable.)
Public method ContainsKey
Determines whether the Hashtable contains a specific key.
(Inherited from Hashtable.)
Public method ContainsValue
Determines whether the Hashtable contains a specific value.
(Inherited from Hashtable.)
Public method CopyTo
Copies the Hashtable elements to a one-dimensional Array instance at the specified index.
(Inherited from Hashtable.)
Public method GetEnumerator
Returns an IDictionaryEnumerator that iterates through the Hashtable.
(Inherited from Hashtable.)
Public method GetObjectData
Implements the ISerializable interface and returns the data needed to serialize the Hashtable.
(Inherited from Hashtable.)
Public method HandleKey
Invokes the handler for the specified keystroke.
Public method OnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from Hashtable.)
Public method Remove
Removes the element with the specified key from the Hashtable.
(Inherited from Hashtable.)
Public method SetHandler
Sets a handler to an existing key.

Properties

  Name Description
Public property Count
Gets the number of key/value pairs contained in the Hashtable.
(Inherited from Hashtable.)
Public property IsFixedSize
Gets a value indicating whether the Hashtable has a fixed size.
(Inherited from Hashtable.)
Public property IsReadOnly
Gets a value indicating whether the Hashtable is read-only.
(Inherited from Hashtable.)
Public property IsSynchronized
Gets a value indicating whether access to the Hashtable is synchronized (thread safe).
(Inherited from Hashtable.)
Public property Item
Gets or sets the value associated with the specified key.
(Inherited from Hashtable.)
Public property Keys
Gets an ICollection containing the keys in the Hashtable.
(Inherited from Hashtable.)
Public property SyncRoot
Gets an object that can be used to synchronize access to the Hashtable.
(Inherited from Hashtable.)
Public property Tag
Gets or sets user data associated with the keymap.
Public property Values
Gets an ICollection containing the values in the Hashtable.
(Inherited from Hashtable.)

See Also