Share via


Enumeração TreeScope (uiautomationclient.h)

Contém valores que especificam o escopo de várias operações na árvore de Automação da Interface do Usuário da Microsoft.

Syntax

typedef enum TreeScope {
  TreeScope_None = 0,
  TreeScope_Element = 0x1,
  TreeScope_Children = 0x2,
  TreeScope_Descendants = 0x4,
  TreeScope_Parent = 0x8,
  TreeScope_Ancestors = 0x10,
  TreeScope_Subtree
} ;

Constantes

 
TreeScope_None
Valor: 0
O escopo exclui a subárvore da pesquisa.
TreeScope_Element
Valor: 0x1
O escopo inclui o próprio elemento.
TreeScope_Children
Valor: 0x2
O escopo inclui filhos do elemento .
TreeScope_Descendants
Valor: 0x4
O escopo inclui filhos e descendentes mais distantes do elemento.
TreeScope_Parent
Valor: 0x8
O escopo inclui o pai do elemento.
TreeScope_Ancestors
Valor: 0x10
O escopo inclui os ancestrais pai e mais distantes do elemento.
TreeScope_Subtree
O escopo inclui o elemento e todos os seus descendentes. Esse sinalizador é uma combinação dos valores TreeScope_Element e TreeScope_Descendants.

Requisitos

   
Cliente mínimo com suporte Windows XP [somente aplicativos da área de trabalho]
Servidor mínimo com suporte Windows Server 2003 [somente aplicativos da área de trabalho]
Cabeçalho uiautomationclient.h (include UIAutomation.h, Uiautomationcoreapi.h)

Confira também

Addautomationeventhandler

AddPropertyChangedEventHandler

AddPropertyChangedEventHandlerNativeArray

AddStructureChangedEventHandler

Findall

FindAllBuildCache

Findfirst

FindFirstBuildCache

Referência