_Application.IsSearchSynchronous(String) Méthode

Définition

Retourne une valeur booléenne (bool en C#) indiquant si une recherche sera synchrone ou asynchrone.

public:
 bool IsSearchSynchronous(System::String ^ LookInFolders);
public bool IsSearchSynchronous (string LookInFolders);
Public Function IsSearchSynchronous (LookInFolders As String) As Boolean

Paramètres

LookInFolders
String

Nom du chemin d’accès aux dossiers concernés par la recherche. Vous devez placer le chemin d’accès du dossier entre guillemets simples.

Retours

Renvoie True si la recherche est synchrone ; sinon, renvoie False.

Remarques

Si la recherche est synchrone, la AdvancedSearch(String, Object, Object, Object) méthode ne retourne pas tant que la recherche n’est pas terminée. Inversement, si la recherche est asynchrone, la méthode AdvancedSearch renvoie immédiatement un résultat. Pour obtenir des résultats significatifs à partir d’une recherche asynchrone, utilisez l’événement AdvancedSearchComplete pour vous avertir lorsque la recherche est terminée.

S’applique à