Dela via


ISearchPaneQueryChangedEventArgs Interface

Definition

Provides data for a QueryChanged event that is associated with a SearchPane object.

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
Derived
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Xbox One Extensions for the UWP (introduced in 10.0.10586.0)
API contract
Windows.ApplicationModel.Search.SearchContract (introduced in v1.0)

Remarks

Important

To implement search in an app for Windows 10 or later, use AutoSuggestBox. See Auto-suggest box for more info.

You should not use Windows.ApplicationModel.Search APIs (SearchPane, SearchContract) or SearchBox APIs in apps for Windows 10 or later.

Properties

Language

The Internet Engineering Task Force (IETF) language tag (BCP 47 standard) that identifies the language currently associated with the user's text input device.

LinguisticDetails

An object that provides information about query text that the user is entering through an Input Method Editor (IME).

QueryText

The text in the search box when the QueryChanged event occurs.

Applies to

See also