共用方式為


QueryContinueDragEventArgs(Int32, Boolean, DragAction) 建構函式

定義

初始化 QueryContinueDragEventArgs 類別的新執行個體。

public:
 QueryContinueDragEventArgs(int keyState, bool escapePressed, System::Windows::Forms::DragAction action);
public QueryContinueDragEventArgs (int keyState, bool escapePressed, System.Windows.Forms.DragAction action);
new System.Windows.Forms.QueryContinueDragEventArgs : int * bool * System.Windows.Forms.DragAction -> System.Windows.Forms.QueryContinueDragEventArgs
Public Sub New (keyState As Integer, escapePressed As Boolean, action As DragAction)

參數

keyState
Int32

SHIFT、CTRL 和 ALT 鍵的目前狀態。

escapePressed
Boolean

如果按下 ESC 鍵,則為 true,否則為 false

action
DragAction

DragAction 值。

適用於

另請參閱