_Application.IsSearchSynchronous(String) 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.
Returns a Boolean (bool in C#) indicating if a search will be synchronous or asynchronous.
public:
bool IsSearchSynchronous(System::String ^ LookInFolders);
public bool IsSearchSynchronous (string LookInFolders);
Public Function IsSearchSynchronous (LookInFolders As String) As Boolean
Parameters
- LookInFolders
- String
The path name of the folders that the search will search through. You must enclose the folder path with single quotes.
Returns
True if the search is synchronous; otherwise, False.
Remarks
If the search is synchronous, the AdvancedSearch(String, Object, Object, Object) method will not return until the search has completed. Conversely, if the search is asynchronous, the AdvancedSearch method will immediately return. In order to get meaningful results from an asynchronous search, use the AdvancedSearchComplete event to notify you when the search has finished.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro