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


key
The key of the element to get or set.

Glossary Item Box

Gets or sets the element with the specified key.

Syntax

Visual Basic (Declaration) 
Public Default Property Item( _
   ByVal key As Keys _
) As String
Visual Basic (Usage)Copy Code
Dim instance As ShortcutDictionary
Dim key As Keys
Dim value As String
 
instance.Item(key) = value
 
value = instance.Item(key)
C# 
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
System.ArgumentNullExceptionThe assigned value is a null reference (Nothing in Visual Basic).
System.ArgumentException The assigned value is an invalid action name.

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.