Share via


SearchSuggestion Class

Definition

Enables access to the search suggestions that the SearchSuggestionManager provides.

public ref class SearchSuggestion sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Search.Core.SearchCoreContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class SearchSuggestion final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Search.Core.SearchCoreContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class SearchSuggestion
Public NotInheritable Class SearchSuggestion
Inheritance
Object Platform::Object IInspectable SearchSuggestion
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.Search.Core.SearchCoreContract (introduced in v1.0)

Properties

DetailText

Gets the value that was passed to the detailText parameter of the AppendResultSuggestion method.

Image

Gets the value that was passed to the image parameter of the AppendResultSuggestion method.

ImageAlternateText

Gets the value that was passed to the imageAlternateText parameter of the AppendResultSuggestion method.

Kind

Gets the type of suggestion.

Tag

Gets the value that was passed to the tag parameter of the AppendResultSuggestion method.

Text

Gets the localized text of the suggestion for display in the search suggestions UI.

Applies to

See also