Share via


InputPane.GetForCurrentView 方法

定义

获取与当前可见的应用程序窗口关联的 InputPane 对象。

public:
 static InputPane ^ GetForCurrentView();
 static InputPane GetForCurrentView();
public static InputPane GetForCurrentView();
function getForCurrentView()
Public Shared Function GetForCurrentView () As InputPane

返回

输入窗格。

注解

此方法是获取输入窗格对象的唯一方法;不能使用 new 运算符获取新的输入窗格对象。

适用于