ISearchPaneQueryChangedEventArgs 接口

定义

为与 SearchPane 对象关联的 QueryChanged 事件提供数据。

public interface class ISearchPaneQueryChangedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Search.SearchContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.ApplicationModel.Search.SearchContract)]
/// [Windows.Foundation.Metadata.Guid(1007046633, 9041, 16968, 165, 41, 113, 16, 244, 100, 167, 133)]
struct ISearchPaneQueryChangedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Search.SearchContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1007046633, 9041, 16968, 165, 41, 113, 16, 244, 100, 167, 133)]
/// [Windows.Foundation.Metadata.Deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.ApplicationModel.Search.SearchContract")]
struct ISearchPaneQueryChangedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Search.SearchContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.ApplicationModel.Search.SearchContract))]
[Windows.Foundation.Metadata.Guid(1007046633, 9041, 16968, 165, 41, 113, 16, 244, 100, 167, 133)]
public interface ISearchPaneQueryChangedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Search.SearchContract), 65536)]
[Windows.Foundation.Metadata.Guid(1007046633, 9041, 16968, 165, 41, 113, 16, 244, 100, 167, 133)]
[Windows.Foundation.Metadata.Deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.ApplicationModel.Search.SearchContract")]
public interface ISearchPaneQueryChangedEventArgs
Public Interface ISearchPaneQueryChangedEventArgs
派生
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
Xbox One Extensions for the UWP (在 10.0.10586.0 中引入)
API contract
Windows.ApplicationModel.Search.SearchContract (在 v1.0 中引入)

注解

重要

若要在应用中实现Windows 10或更高版本的搜索,请使用 AutoSuggestBox。 有关详细信息 ,请参阅自动建议框

不应在 Windows 10 或更高版本的应用中使用 Windows.ApplicationModel.Search API (SearchPaneSearchContract) 或 SearchBox API。

属性

Language

Internet 工程任务组 (IETF) 语言标记 (BCP 47 标准) ,用于标识当前与用户的文本输入设备关联的语言。

LinguisticDetails

一个 对象,提供有关用户通过输入法编辑器输入的查询文本的信息 (输入法) 。

QueryText

发生 QueryChanged 事件时搜索框中的文本。

适用于

另请参阅