SearchBoxResultSuggestionChosenEventArgs Classe

Definizione

Fornisce i dati dell'evento SearchBox.ResultSuggestionChosen .

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
Ereditarietà
Object Platform::Object IInspectable SearchBoxResultSuggestionChosenEventArgs
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Commenti

Importante

Anche se SearchBox è implementato nella famiglia di dispositivi universali, non è completamente funzionante nei dispositivi mobili. Usa AutoSuggestBox per l’esperienza di ricerca universale. Vedi SearchBox obsoleto e sostituito da AutoSuggestBox.

Costruttori

SearchBoxResultSuggestionChosenEventArgs()

Inizializza una nuova istanza della classe SearchBoxResultSuggestionChosenEventArgs .

Proprietà

KeyModifiers

Ottiene qualsiasi tasto modificatore premuto quando l'utente preme invio per selezionare un risultato di ricerca.

Tag

Tag definito dall'app per il risultato suggerito selezionato dall'utente.

Si applica a

Vedi anche