SearchBoxResultSuggestionChosenEventArgs Klasse

Definition

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

public ref class SearchBoxResultSuggestionChosenEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [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 SearchBoxResultSuggestionChosenEventArgs final
/// [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)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class SearchBoxResultSuggestionChosenEventArgs final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[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 SearchBoxResultSuggestionChosenEventArgs
[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)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class SearchBoxResultSuggestionChosenEventArgs
Public NotInheritable Class SearchBoxResultSuggestionChosenEventArgs
Vererbung
Object Platform::Object IInspectable SearchBoxResultSuggestionChosenEventArgs
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. Siehe SearchBox zugunsten von AutoSuggestBox veraltet.

Konstruktoren

SearchBoxResultSuggestionChosenEventArgs()

Initialisiert eine neue instance der SearchBoxResultSuggestionChosenEventArgs-Klasse.

Eigenschaften

KeyModifiers

Ruft alle Modifizierertasten ab, die gedrückt werden, wenn der Benutzer die EINGABETASTE drückt, um ein Suchergebnis zu wählen.

Tag

Das app-definierte Tag für das vorgeschlagene Ergebnis, das der Benutzer ausgewählt hat.

Gilt für:

Weitere Informationen