CoreFrameworkInputView.GetForUIContext(UIContext) 方法

定义

获取与具有指定上下文标识符的视图关联的 CoreFrameworkInputView 对象。

public:
 static CoreFrameworkInputView ^ GetForUIContext(UIContext ^ context);
 static CoreFrameworkInputView GetForUIContext(UIContext const& context);
public static CoreFrameworkInputView GetForUIContext(UIContext context);
function getForUIContext(context)
Public Shared Function GetForUIContext (context As UIContext) As CoreFrameworkInputView

参数

context
UIContext

要获取 其 CoreFrameworkInputView 的视图的上下文标识符。

返回

指定上下文标识符的 CoreFrameworkInputView

注解

如果在无窗口线程中调用此方法,则此方法失败。

适用于