Partager via


_Explorer.ClearSearch Method

Clears results from a Microsoft Instant Search in an Explorer if results are displayed in the Explorer.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub ClearSearch
'Usage
Dim instance As _Explorer

instance.ClearSearch()
[DispIdAttribute()]
void 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.

See Also

Reference

_Explorer Interface

_Explorer Members

Microsoft.Office.Interop.Outlook Namespace