次の方法で共有


SearchBox.dispose method

[SearchBox is no longer available for use as of Windows 10. Instead, use AutoSuggestBox. ]

Releases resources held by this SearchBox. Call this method when the SearchBox is no longer needed. After calling this method, the SearchBox becomes unusable.

Syntax

searchBox.dispose();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

SearchBox