Bagikan melalui


ISearchPaneQueryChangedEventArgs Antarmuka

Definisi

Menyediakan data untuk peristiwa QueryChanged yang terkait dengan objek SearchPane .

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
Turunan
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows Desktop Extension SDK (diperkenalkan dalam 10.0.10240.0)
Xbox One Extensions for the UWP (diperkenalkan dalam 10.0.10586.0)
API contract
Windows.ApplicationModel.Search.SearchContract (diperkenalkan dalam v1.0)

Keterangan

Penting

Untuk mengimplementasikan pencarian di aplikasi untuk Windows 10 atau yang lebih baru, gunakan AutoSuggestBox. Lihat kotak Saran otomatis untuk informasi selengkapnya.

Anda tidak boleh menggunakan API Windows.ApplicationModel.Search (SearchPane, SearchContract) atau SEARCHBox API di aplikasi untuk Windows 10 atau yang lebih baru.

Properti

Language

Tag bahasa Internet Engineering Task Force (IETF) (standar BCP 47) yang mengidentifikasi bahasa yang saat ini terkait dengan perangkat input teks pengguna.

LinguisticDetails

Objek yang menyediakan informasi tentang teks kueri yang dimasukkan pengguna melalui Editor Metode Input (IME).

QueryText

Teks dalam kotak pencarian saat peristiwa QueryChanged terjadi.

Berlaku untuk

Lihat juga