[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.ShortcutDictionary.TryGetValue

TryGetValue Method

TryGetValue(Keys, out string)

Gets the value associated with the specified key.

Declaration
public bool TryGetValue(Keys key, out string value)
Public Function TryGetValue(key As Keys, ByRef value As String) As Boolean
Parameters
Type Name Description
Keys key

The key whose value to get.

string value

This method returns the value associated with the specified key, if the key is found; otherwise, this method returns the default value for the type of the value parameter. This parameter is passed uninitialized.

Returns
Type Description
bool

true if the collection contains an element with the specified key; otherwise, false.

Implements