activities
latest
false
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.
UiPath logo, featuring letters U and I in white

UIAutomation-Aktivitäten

Letzte Aktualisierung 9. März 2026

Attribut erhalten (Get Attribute)

Ruft ein Attribut eines angegebenen UI-Elements ab.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

Überladungen

ÜberladenBeschreibung
GetAttribute(IElementDescriptor, string, MobileOptions.GetAttributeOptions)Ruft ein Attribut eines angegebenen UI-Elements ab, das als IEelementDescriptor identifiziert wurde.
GetAttribute(ObjectRepositoryTarget, string, MobileOptions.GetAttributeOptions)Ruft ein Attribut eines angegebenen UI-Elements ab, das als ObjectRepositoryTarget identifiziert wurde.
GetAttribute(SelectorTarget, string, MobileOptions.GetAttributeOptions)Ruft ein Attribut eines angegebenen UI-Elements ab, das als SelectorTarget identifiziert wurde.

GetAttribute(IElementDescriptor, string, MobileOptions.GetAttributeOptions)

Ruft ein Attribut eines angegebenen UI-Elements ab, das als IEelementDescriptor identifiziert wurde.

GetAttribute(
	    IElementDescriptor element,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
GetAttribute(
	    IElementDescriptor element,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)

element IElementDescriptor : Ein UI-Element aus dem Object Repository, auf das Sie mithilfe der ObjectRepository.Descriptors -Klasse zugreifen.

Visit [Using objects in coded
automations](https://docs.uipath.com/studio/standalone/2023.10/user-guide/creating-an-object-repository#using-objects-in-coded-automations) to learn how to use Object Repository elements in
coded automations.
Visit [Using objects in coded
automations](https://docs.uipath.com/de/studio/standalone/2023.10/user-guide/creating-an-object-repository#using-objects-in-coded-automations) to learn how to use Object Repository elements in
coded automations.

attributeName Zeichenfolge : Der Name des Attributs, das Sie aus dem angegebenen UI-Element abrufen möchten.

options MobileOptions.GetAttributeOptions (Optional) : Gibt MobileOptions.GetAttributeOptions für die GetAttribute -Aktion an. Der Standardwert ist null.

GetAttribute(ObjectRepositoryTarget, string, MobileOptions.GetAttributeOptions)

Ruft ein Attribut eines angegebenen UI-Elements ab, das als ObjectRepositoryTarget identifiziert wurde.

GetAttribute(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
GetAttribute(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)

objectRepositoryTarget ObjectRepositoryTarget : Ein Objekt vom Typ ObjectRepositoryTarget. Kann mit FromObjectRepository(String, String, String, String) oder FromObjectRepository(String[] , String, String, String) -Methoden erstellt werden.

attributeName Zeichenfolge : Der Name des Attributs, das Sie aus dem angegebenen UI-Element abrufen möchten.

options MobileOptions.GetAttributeOptions (Optional) : Gibt MobileOptions.GetAttributeOptions für die GetAttribute -Aktion an. Der Standardwert ist null.

GetAttribute(SelectorTarget, string, MobileOptions.GetAttributeOptions)

Ruft ein Attribut eines angegebenen UI-Elements ab, das als SelectorTarget identifiziert wurde.

GetAttribute(
	    SelectorTarget targetSelector,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
GetAttribute(
	    SelectorTarget targetSelector,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)

selectorTarget SelectorTarget : Ein Objekt vom Typ SelectorTarget . Kann mit der FromSelector(String) -Methode erstellt werden.

attributeName Zeichenfolge : Der Name des Attributs, das Sie aus dem angegebenen UI-Element abrufen möchten.

options MobileOptions.GetAttributeOptions (Optional) : Gibt MobileOptions.GetAttributeOptions für die GetAttribute -Aktion an. Der Standardwert ist null.

Rückgabewert

Der Wert des abgerufenen Attributs.

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben