Spread Windows Forms 13.0 Product Documentation
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ShortcutDictionary Class / Remove Method
The key of the element to remove.


In This Topic
    Remove Method (ShortcutDictionary)
    In This Topic
    Removes the element with the specified key.
    Syntax
    'Declaration
     
    Public Function Remove( _
       ByVal key As Keys _
    ) As Boolean
    'Usage
     
    Dim instance As ShortcutDictionary
    Dim key As Keys
    Dim value As Boolean
     
    value = instance.Remove(key)
    public bool Remove( 
       Keys key
    )

    Parameters

    key
    The key of the element to remove.

    Return Value

    true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original collection.
    See Also