Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ActionMap Class / AllKeys Method
Example


In This Topic
    AllKeys Method (ActionMap)
    In This Topic
    Returns the keys that are defined in this action map and its parent.
    Syntax
    'Declaration
     
    Public Function AllKeys() As Object()
    'Usage
     
    Dim instance As ActionMap
    Dim value() As Object
     
    value = instance.AllKeys()
    public object[] AllKeys()

    Return Value

    Object array containing all the keys
    Example
    This example returns the default maps.
    FarPoint.Win.Spread.ActionMap map;
    map = fpSpread1.GetActionMap();
    object[] keys = map.AllKeys();
    foreach (object key in keys)
    {
           listBox1.Items.Add(key);
    }
    
    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
    See Also