Returns the number of mappings defined in this action map.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property Size As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ActionMap
Dim value As Integer
value = instance.Size |
C# | |
---|
public int Size {get;} |
Property Value
Integer number of mappings
Example
This example returns the number of mappings defined in this action map.
C# | Copy Code |
---|
FarPoint.Win.Spread.ActionMap map, parent;
map = fpSpread1.GetActionMap();
object[] keys = map.AllKeys();
parent = map.Parent;
foreach (object key in keys)
{
listBox1.Items.Add(parent.Get(key).ToString());;
}
|
Visual Basic | Copy Code |
---|
Dim map, parent As FarPoint.Win.Spread.ActionMap
map = FpSpread1.GetActionMap()
Dim keys As Object() = map.AllKeys()
Dim key As Object
parent = map.Parent
For Each key In keys
ListBox1.Items.Add(parent.Get(key).ToString())
Next |
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