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 6. März 2026

GetSelectedItem

Ruft das ausgewählte Element aus einem Ziel-UI-Element ab.

Definition

Namespace: UiPath.MobileAutomation.API.Models

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

Überladungen

ÜberladenBeschreibung
GetSelectedItem(IElementDescriptor, MobileOptions.GetSelectedItemOptions)Ruft das ausgewählte Element aus einem Ziel-UI-Element ab, das als IElementDescriptor identifiziert wurde.
GetSelectedItem(ObjectRepositoryTarget, MobileOptions.GetSelectedItemOptions)Ruft das ausgewählte Element aus einem Ziel-UI-Element ab, das als ObjectRepositoryTarget identifiziert wurde.
GetSelectedItem(SelectorTarget, MobileOptions.GetSelectedItemOptions)Ruft das ausgewählte Element aus einem Ziel-UI-Element ab, das als SelectorTarget identifiziert wurde.

ElementExists(IElementDescriptor, MobileOptions.ElementExistsOptions)

Ruft das ausgewählte Element aus einem Ziel-UI-Element ab, das als IElementDescriptor identifiziert wurde.

GetSelectedItem(
	    IElementDescriptor element,
	    MobileOptions. GetSelectedItemOptions options = null
)
GetSelectedItem(
	    IElementDescriptor element,
	    MobileOptions. GetSelectedItemOptions options = null
)

element IElementDescriptor : Ein UI-Element aus dem Object Repository, auf das Sie mit der Klasse ObjectRepository.Descriptors 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.

MobileOptions.GetSelectedItemOptions MobileOptions.GetSelectedItemOptions-Klasse (Optional) : Gibt MobileOptions.GetSelectedItemOptions für die GetSelectedItem -Aktion an. Der Standardwert ist null.

GetSelectedItem(ObjectRepositoryTarget, MobileOptions.GetSelectedItemOptions)

Ruft das ausgewählte Element aus einem Ziel-UI-Element ab, das als ObjectRepositoryTarget identifiziert wurde.

GetSelectedItem(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. GetSelectedItemOptions options = null
)
GetSelectedItem(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. GetSelectedItemOptions 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.

MobileOptions.GetSelectedItemOptions MobileOptions.GetSelectedItemOptions-Klasse (Optional) : Gibt MobileOptions.GetSelectedItemOptions für die GetSelectedItem -Aktion an. Der Standardwert ist null.

GetSelectedItem(SelectorTarget, MobileOptions.GetSelectedItemOptions)

Ruft das ausgewählte Element aus einem Ziel-UI-Element ab, das als SelectorTarget identifiziert wurde.

string GetSelectedItem(
	    SelectorTarget targetSelector,
	    MobileOptions. GetSelectedItemOptions options = null
)
string GetSelectedItem(
	    SelectorTarget targetSelector,
	    MobileOptions. GetSelectedItemOptions options = null
)

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

MobileOptions.GetSelectedItemOptions MobileOptions.GetSelectedItemOptions-Klasse (Optional) : Gibt MobileOptions.GetSelectedItemOptions für die GetSelectedItem -Aktion an. Der Standardwert ist null.

Rückgabewert

Das ausgewählte Element, gespeichert in einer Zeichenfolge.

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