Creates a new InputAction instance based on the specified user action and handler, and adds it to the current collection.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int Add(
	UserActionEnum userAction,
	ActionHandlerBase actionHandler
)
Visual Basic
Public Function Add ( _
	userAction As UserActionEnum, _
	actionHandler As ActionHandlerBase _
) As Integer

Parameters

userAction
Type: C1.C1Preview..::..UserActionEnum
The UserAction of the new instance.
actionHandler
Type: C1.C1Preview..::..ActionHandlerBase
The ActionHandler of the new instance.

Return Value

The index of the new element in the current collection.

See Also