SearchBoxQuerySubmittedEventArgs Klasse

Definition

Stellt Ereignisdaten für das SearchBox.QuerySubmitted-Ereignis bereit .

public ref class SearchBoxQuerySubmittedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SearchBoxQuerySubmittedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SearchBoxQuerySubmittedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SearchBoxQuerySubmittedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SearchBoxQuerySubmittedEventArgs
Public NotInheritable Class SearchBoxQuerySubmittedEventArgs
Vererbung
Object Platform::Object IInspectable SearchBoxQuerySubmittedEventArgs
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Wichtig

Obwohl SearchBox in der universellen Gerätefamilie implementiert ist, ist es auf mobilen Geräten nicht voll funktionsfähig. Verwenden Sie AutoSuggestBox für Ihre universelle Sucherfahrung. Weitere Informationen finden Sie unter SearchBox als veraltet zugunsten von AutoSuggestBox.

Eigenschaften

KeyModifiers

Ruft alle Modifizierertasten ab, die gedrückt werden, wenn der Benutzer die EINGABETASTE drückt, um eine Abfrage zu senden.

Language

Ruft das IETF-Sprachtag (Internet Engineering Task Force) (BCP 47-Standard) ab, das die Sprache identifiziert, die dem Texteingabegerät des Benutzers derzeit zugeordnet ist.

LinguisticDetails

Ruft Informationen zu Abfragetext ab, den der Benutzer über einen Eingabemethoden-Editor (IME) eingibt.

QueryText

Ruft den Abfragetext der aktuellen Suche ab.

Gilt für:

Weitere Informationen