UiPath Documentation
activities
latest
false
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Atividades do UIAutomation

Get Attribute

Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado.

Essa API deve ser adicionada após Abrir ou Anexar.

Definição

Namespace: UiPath.UIAutomationNext.API.Models

Assembly: UiPath.UIAutomationNext.API.Models (na dll UiPath.UIAutomationNext.API.Models)

Sobrecarregas

SobrecargaDescription
GetAttribute(RuntimeTarget, GetAttributeOptions)Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por uma instância de runtime de um elemento do Repositório de Objetos, além de outras configurações.
GetAttribute(TargetAnchorableModel, GetAttributeOptions)Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado pelo objeto TargetAnchorableModel , juntamente com outras configurações.
GetAttribute(String, GetAttributeOptions)Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por uma cadeia de caracteres do Repositório de Objetos, além de outras configurações.
GetAttribute(IElementDescriptor, String)Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por um descritor de um elemento do Repositório de Objetos, enquanto especifica o nome do atributo.
GetAttribute(IElementDescriptor, GetAttributeOptions)Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por um descritor de um elemento de interface gráfica do Repositório de Objetos, juntamente com outras configurações.
GetAttribute(String, String)Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por uma string do Repositório de Objetos, ao especificar o nome do atributo.
GetAttribute(TargetAnchorableModel, String)Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado pelo objeto TargetAnchorableModel , enquanto especifica o nome do atributo.

GetAttribute(RuntimeTarget, GetAttributeOptions)

Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por uma instância de runtime de um elemento do Repositório de Objetos, além de outras configurações.

GetAttribute(
    RuntimeTarget target,
    GetAttributeOptions getAttributeOptions)
GetAttribute(
    RuntimeTarget target,
    GetAttributeOptions getAttributeOptions)

target RuntimeTarget : o destino de onde obter o atributo desejado, identificado por uma instância de runtime de um elemento do Repositório de objetos.

getAttributeOptions GetAttributeOptions : opções adicionais para personalizar o processo de recuperação do valor do atributo. Você pode optar por personalizar:

* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.
* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.

GetAttribute(TargetAnchorableModel, GetAttributeOptions)

Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado pelo objeto TargetAnchorableModel , juntamente com outras configurações.

GetAttribute(
    TargetAnchorableModel target,
    GetAttributeOptions getAttributeOptions)
GetAttribute(
    TargetAnchorableModel target,
    GetAttributeOptions getAttributeOptions)

target TargetAnchorableModel : o destino de onde obter o atributo desejado, identificado pelo objeto TargetAnchorableModel .

getAttributeOptions GetAttributeOptions : opções adicionais para personalizar o processo de recuperação do valor do atributo. Você pode optar por personalizar:

* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.
* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.

GetAttribute(String, GetAttributeOptions)

Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por uma cadeia de caracteres do Repositório de Objetos, além de outras configurações.

GetAttribute(
    string target,
    GetAttributeOptions getAttributeOptions)
GetAttribute(
    string target,
    GetAttributeOptions getAttributeOptions)

target String : o destino de onde obter o atributo desejado, identificado por uma string do Repositório de objetos.

getAttributeOptions GetAttributeOptions : opções adicionais para personalizar o processo de recuperação do valor do atributo. Você pode optar por personalizar:

* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.
* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.

GetAttribute(IElementDescriptor, String)

Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por um descritor de um elemento do Repositório de Objetos, enquanto especifica o nome do atributo.

GetAttribute(
    IElementDescriptor elementDescriptor,
    string attribute)
GetAttribute(
    IElementDescriptor elementDescriptor,
    string attribute)

elementDescriptor IElementDescriptor : o elemento do qual você deseja recuperar o valor do atributo, identificado por um descritor de um elemento de interface gráfica do Repositório de objetos.

attribute String : o nome do atributo que você deseja recuperar.

GetAttribute(IElementDescriptor, GetAttributeOptions)

Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por um descritor de um elemento de interface gráfica do Repositório de Objetos, juntamente com outras configurações.

GetAttribute(
    IElementDescriptor elementDescriptor,
    GetAttributeOptions getAttributeOptions)
GetAttribute(
    IElementDescriptor elementDescriptor,
    GetAttributeOptions getAttributeOptions)

elementDescriptor IElementDescriptor : o elemento do qual você deseja recuperar o valor do atributo, identificado por um descritor de um elemento de interface gráfica do Repositório de objetos.

getAttributeOptions GetAttributeOptions : opções adicionais para personalizar o processo de recuperação do valor do atributo. Você pode optar por personalizar:

* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.
* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.

GetAttribute(String, String)

Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado por uma string do Repositório de Objetos, ao especificar o nome do atributo.

GetAttribute(
    string target,
    string attribute)
GetAttribute(
    string target,
    string attribute)

target String : o destino de onde obter o atributo desejado, identificado por uma string do Repositório de objetos.

attribute String : o nome do atributo que você deseja recuperar.

GetAttribute(TargetAnchorableModel, String)

Recupera o valor de um atributo especificado de um elemento de interface gráfica indicado, identificado pelo objeto TargetAnchorableModel , enquanto especifica o nome do atributo.

GetAttribute(
    TargetAnchorableModel target,
    string attribute)
GetAttribute(
    TargetAnchorableModel target,
    string attribute)

target TargetAnchorableModel : o destino de onde obter o atributo desejado, identificado pelo objeto TargetAnchorableModel .

attribute String : o nome do atributo que você deseja recuperar.

RetornarValor

O valor do atributo.

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades