Spread Windows Forms 12.0 Product Documentation
Item Property (ShortcutDictionary)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > ShortcutDictionary Class : Item Property
The key of the element to get or set.
Gets or sets the element with the specified key.
Syntax
'Declaration
 
Public Default Property Item( _
   ByVal key As Keys _
) As String
'Usage
 
Dim instance As ShortcutDictionary
Dim key As Keys
Dim value As String
 
instance.Item(key) = value
 
value = instance.Item(key)
public string this[ 
   Keys key
]; {get; set;}

Parameters

key
The key of the element to get or set.

Property Value

The element with the specified key.
Exceptions
ExceptionDescription
The assigned value is a null reference (Nothing in Visual Basic).
The assigned value is an invalid action name.
See Also

Reference

ShortcutDictionary Class
ShortcutDictionary Members