'Declaration
Public Overloads Function Add( _ ByVal key As Keys, _ ByVal buttonKey As String _ ) As Integer
'Usage
Dim instance As CalculatorButtonMappingCollection Dim key As Keys Dim buttonKey As String Dim value As Integer value = instance.Add(key, buttonKey)
Parameters
- key
- The System.Windows.Forms.Keys value indicates the special key.
- buttonKey
- The System.String value indicates thekey of the button.
Return Value
The System.Int32 value indicates the index of the item.