ITextProvider2.RangeFromAnnotation(IRawElementProviderSimple) 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.
Expose une plage de texte qui contient le texte qui est la cible de l’annotation associée à l’élément d’annotation spécifié.
public:
ITextRangeProvider ^ RangeFromAnnotation(IRawElementProviderSimple ^ annotationElement);
ITextRangeProvider RangeFromAnnotation(IRawElementProviderSimple const& annotationElement);
public ITextRangeProvider RangeFromAnnotation(IRawElementProviderSimple annotationElement);
function rangeFromAnnotation(annotationElement)
Public Function RangeFromAnnotation (annotationElement As IRawElementProviderSimple) As ITextRangeProvider
Paramètres
- annotationElement
- IRawElementProviderSimple
Fournisseur d’un élément qui implémente l’interface IAnnotationProvider . L’élément d’annotation est un frère de l’élément qui implémente l’interface ITextProvider2 pour le document.
Retours
Plage de texte qui contient le texte cible de l’annotation.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour