Spread Windows Forms 9.0 Product Documentation
Item Property (ShortcutDictionary)


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
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 Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ShortcutDictionary Class
ShortcutDictionary Members

 

 


Copyright © GrapeCity, inc. All rights reserved.