Performs a Microsoft Instant Search on the current folder displayed in the Explorer using the given Query.
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
'Declaration <DispIdAttribute()> _ Sub Search ( _ Query As String, _ SearchScope As OlSearchScope _ ) 'Usage Dim instance As _Explorer Dim Query As String Dim SearchScope As OlSearchScope instance.Search(Query, SearchScope)
The functionality of Explorer.Search is analogous to the Search button in Instant Search. It behaves as if the user has typed the query string in the Instant Search user interface and then clicked Search. When calling Search, the query is run in the user interface, and there is no programmatic mechanism to obtain the search results. For more information on Instant Search, query for "Instant Search" in the Outlook Help.
The Search method does not provide a callback to enable the developer to determine when the search is complete.