ITextRangeProvider.Compare(ITextRangeProvider) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
public:
bool Compare(System::Windows::Automation::Provider::ITextRangeProvider ^ range);
public bool Compare(System.Windows.Automation.Provider.ITextRangeProvider range);
abstract member Compare : System.Windows.Automation.Provider.ITextRangeProvider -> bool
Public Function Compare (range As ITextRangeProvider) As Boolean
Paramètres
- range
- ITextRangeProvider
Plage de texte à comparer.
Retours
true si l'étendue des deux plages de texte est identique ; sinon, false.
Exceptions
Si la plage qui est comparée ne vient pas du même fournisseur de textes.