ProcessInputEventArgs.PushInput 方法

定义

将输入事件放置在临时区域堆栈的顶部。Puts an input event onto the top of the staging area stack.

重载

PushInput(StagingAreaInputItem)

将指定的输入事件放置在临时区域堆栈的顶部。Puts the specified input event onto the top of the staging area stack.

PushInput(InputEventArgs, StagingAreaInputItem)

将指定的输入事件放置在指定临时区域堆栈的顶部。Puts the specified input event onto the top of the specified staging area stack.

注解

要放置在临时区域中的输入不能为 null ,也不能已存在于暂存区域中。The input to place on the staging area cannot be null and it cannot already exist in the staging area.

PushInput(StagingAreaInputItem)

将指定的输入事件放置在临时区域堆栈的顶部。Puts the specified input event onto the top of the staging area stack.

public:
 System::Windows::Input::StagingAreaInputItem ^ PushInput(System::Windows::Input::StagingAreaInputItem ^ input);
public System.Windows.Input.StagingAreaInputItem PushInput (System.Windows.Input.StagingAreaInputItem input);
[System.Security.SecurityCritical]
public System.Windows.Input.StagingAreaInputItem PushInput (System.Windows.Input.StagingAreaInputItem input);
member this.PushInput : System.Windows.Input.StagingAreaInputItem -> System.Windows.Input.StagingAreaInputItem
[<System.Security.SecurityCritical>]
member this.PushInput : System.Windows.Input.StagingAreaInputItem -> System.Windows.Input.StagingAreaInputItem
Public Function PushInput (input As StagingAreaInputItem) As StagingAreaInputItem

参数

input
StagingAreaInputItem

要放置在临时区域堆栈上的输入事件。The input event to put on the staging area stack.

返回

StagingAreaInputItem

临时区域输入项。The staging area input item.

属性

注解

input 不能为 null ,也不能已存在于暂存区域中。input cannot be null and it cannot already exist in the staging area.

另请参阅

适用于

产品 Introduced

PushInput(InputEventArgs, StagingAreaInputItem)

将指定的输入事件放置在指定临时区域堆栈的顶部。Puts the specified input event onto the top of the specified staging area stack.

public:
 System::Windows::Input::StagingAreaInputItem ^ PushInput(System::Windows::Input::InputEventArgs ^ input, System::Windows::Input::StagingAreaInputItem ^ promote);
public System.Windows.Input.StagingAreaInputItem PushInput (System.Windows.Input.InputEventArgs input, System.Windows.Input.StagingAreaInputItem promote);
[System.Security.SecurityCritical]
public System.Windows.Input.StagingAreaInputItem PushInput (System.Windows.Input.InputEventArgs input, System.Windows.Input.StagingAreaInputItem promote);
member this.PushInput : System.Windows.Input.InputEventArgs * System.Windows.Input.StagingAreaInputItem -> System.Windows.Input.StagingAreaInputItem
[<System.Security.SecurityCritical>]
member this.PushInput : System.Windows.Input.InputEventArgs * System.Windows.Input.StagingAreaInputItem -> System.Windows.Input.StagingAreaInputItem
Public Function PushInput (input As InputEventArgs, promote As StagingAreaInputItem) As StagingAreaInputItem

参数

input
InputEventArgs

要放置在临时区域堆栈上的输入事件。The input event to put on the staging area stack.

promote
StagingAreaInputItem

要从其提升状态的现有临时区域项。An existing staging area item to promote the state from.

返回

StagingAreaInputItem

包装指定输入的临时区域输入项。The staging area input item that wraps the specified input.

属性

注解

input 不能为 null ,也不能已存在于暂存区域中。input cannot be null and it cannot already exist in the staging area.

另请参阅

适用于

产品 Introduced