共用方式為


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。 如需詳細資訊 ,請參閱自動建議方塊

您不應該在 app 中使用Windows.ApplicationModel.Search API (SearchPaneSearchContract) 或SearchBox API,以供Windows 10或更新版本使用。

屬性

Language

Internet Engineering Task Force (IETF) 語言標記 (BCP 47 標準) ,可識別目前與使用者文字輸入裝置相關聯的語言。

LinguisticDetails

物件,提供使用者透過輸入法 (輸入法) 輸入之查詢文字的相關資訊。

QueryText

當 QueryChanged事件發生時,搜尋方塊中的文字。

適用於

另請參閱