Share via


SearchBox.SearchHistoryEnabled 屬性

定義

取得或設定值,這個值會決定是否從搜尋歷程記錄進行搜尋建議。

public:
 property bool SearchHistoryEnabled { bool get(); void set(bool value); };
bool SearchHistoryEnabled();

void SearchHistoryEnabled(bool value);
public bool SearchHistoryEnabled { get; set; }
var boolean = searchBox.searchHistoryEnabled;
searchBox.searchHistoryEnabled = boolean;
Public Property SearchHistoryEnabled As Boolean
<SearchBox SearchHistoryEnabled="bool"/>

屬性值

Boolean

bool

如果搜尋記錄中提出搜尋建議,則為true;否則為false。 預設值為 True

適用於