Interface IUIAutomationTextRange2 (uiautomationclient.h)

Étend l’interface IUIAutomationTextRange pour permettre aux clients Microsoft UI Automation d’appeler des menus contextuels par programmation.

Héritage

L’interface IUIAutomationTextRange2 hérite de IUIAutomationTextRange. IUIAutomationTextRange2 a également les types de membres suivants :

Méthodes

L’interface IUIAutomationTextRange2 a ces méthodes.

 
IUIAutomationTextRange2 ::ShowContextMenu

Appelle par programmation un menu contextuel sur la plage de texte cible.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 8.1 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2012 R2 [applications de bureau uniquement]
Plateforme cible Windows
En-tête uiautomationclient.h (incluez UIAutomation.h)