PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / InputActionCollection Class / Add Method / Add(UserActionEnum,ActionHandlerBase) Method
The UserAction of the new instance.
The 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 UserAction of the new instance.
    actionHandler
    The ActionHandler of the new instance.

    Return Value

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