_Explorer.ClearSearch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears results from a Microsoft Instant Search in an Explorer if results are displayed in the Explorer.
public:
void ClearSearch();
public void ClearSearch ();
Public Sub ClearSearch ()
Remarks
The functionality of this method is analogous to the Clear button in Instant Search.
If no search results are displayed in the Explorer, ClearSearch will not take any action. If the current view of the Explorer does not present a search view, ClearSearch will not raise an error.