Share via


SearchBox.QueryText プロパティ

定義

検索ボックスのテキストの内容を取得または設定します。

public:
 property Platform::String ^ QueryText { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring QueryText();

void QueryText(winrt::hstring value);
public string QueryText { get; set; }
var string = searchBox.queryText;
searchBox.queryText = string;
Public Property QueryText As String
<SearchBox QueryText="string"/>

プロパティ値

String

Platform::String

winrt::hstring

検索ボックスのテキスト内容を含む文字列。 既定値は、空の文字列 ("") です。 クエリ テキストの最大長は 2048 文字です。

適用対象