Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / ShortcutDictionary Class / Item Property
The key of the element to get or set.


In This Topic
    Item Property (ShortcutDictionary)
    In This Topic
    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