Spread Windows Forms 7.0 Product Documentation
Remove Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > ShortcutDictionary Class : Remove Method


key
The key of the element to remove.

Glossary Item Box

Removes the element with the specified key.

Syntax

Visual Basic (Declaration) 
Public Function Remove( _
   ByVal key As Keys _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ShortcutDictionary
Dim key As Keys
Dim value As Boolean
 
value = instance.Remove(key)
C# 
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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.