PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / InputActionCollection Class / Add Method / Add(UserActionEnum,ActionHandlerBase) Method
The InputAction.UserAction of the new instance.
The InputAction.ActionHandler of the new instance.

In This Topic
    Add(UserActionEnum,ActionHandlerBase) Method
    In This Topic
    Creates a new InputAction instance based on the specified user action and handler, and adds it to the current collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal userAction As UserActionEnum, _
       ByVal actionHandler As ActionHandlerBase _
    ) As Integer

    Parameters

    userAction
    The InputAction.UserAction of the new instance.
    actionHandler
    The InputAction.ActionHandler of the new instance.

    Return Value

    The index of the new element in the current collection.
    See Also