Spread Windows Forms 6.0 Product Documentation
AllKeys Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ActionMap Class : AllKeys Method


Glossary Item Box

Returns the keys that are defined in this action map and its parent.

Syntax

Visual Basic (Declaration) 
Public Function AllKeys() As Object()
Visual Basic (Usage)Copy Code
Dim instance As ActionMap
Dim value() As Object
 
value = instance.AllKeys()
C# 
public object[] AllKeys()

Return Value

Object array containing all the keys

Example

This example returns the default maps.
C#Copy Code
FarPoint.Win.Spread.ActionMap map;
map = fpSpread1.GetActionMap();
object[] keys = map.AllKeys();
foreach (object key in keys)
{
       listBox1.Items.Add(key);
}
Visual BasicCopy Code
Dim map As FarPoint.Win.Spread.ActionMap, AllKeys
map = FpSpread1.GetActionMap()
Dim keys As Object() = map.AllKeys()
Dim key As Object
For Each key In keys
       ListBox1.Items.Add(key)
Next

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.