PrintDocument for WinForms
Add(UserActionEnum,ActionHandlerBase) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > InputActionCollection クラス > Add メソッド : Add(UserActionEnum,ActionHandlerBase) メソッド
The InputAction.UserAction of the new instance.
The InputAction.ActionHandler of the new instance.
Creates a new InputAction instance based on the specified user action and handler, and adds it to the current collection.
シンタックス
'宣言
 
Public Overloads Function Add( _
   ByVal userAction As UserActionEnum, _
   ByVal actionHandler As ActionHandlerBase _
) As System.Integer
'使用法
 
Dim instance As InputActionCollection
Dim userAction As UserActionEnum
Dim actionHandler As ActionHandlerBase
Dim value As System.Integer
 
value = instance.Add(userAction, actionHandler)
public System.int Add( 
   UserActionEnum userAction,
   ActionHandlerBase actionHandler
)

パラメータ

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

戻り値の型

The index of the new element in the current collection.
参照

InputActionCollection クラス
InputActionCollection メンバ
オーバーロード一覧