SearchSuggestion.Kind 属性

定义

获取建议的类型。

public:
 property SearchSuggestionKind Kind { SearchSuggestionKind get(); };
SearchSuggestionKind Kind();
public SearchSuggestionKind Kind { get; }
var searchSuggestionKind = searchSuggestion.kind;
Public ReadOnly Property Kind As SearchSuggestionKind

属性值

建议的类型。

注解

如果建议由系统提供,则它具有 QuerySearchSuggestionKind。 如果建议由应用程序提供,则响应 SuggestionsRequested 事件,则类型由用于添加建议的 SearchSuggestionCollection 方法确定。

SearchSuggestionCollection 方法 SearchSuggestionKind
AppendQuerySuggestion 查询
AppendQuerySuggestions 查询
AppendResultSuggestion 结果
AppendSearchSeparator 分隔符

适用于

另请参阅