activities
latest
false
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.
UiPath logo, featuring letters U and I in white

Activités UIAutomation

Dernière mise à jour 6 mars 2026

SetSelectedItem

Définissez l'élément sélectionné sur un élément d'IU cible.

Définition

Espace de noms: UiPath.MobileAutomation.API.Models

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

Surcharges

SurchargeDescription
SetSelectedItem(IElementDescriptor, string, MobileOptions.SetSelectedItemOptions)Définit l'élément sélectionné sur un élément d'IU cible, identifié comme un IElementDescriptor.
SetSelectedItem(ObjectRepositoryTarget, string, MobileOptions.SelectedItemOptions)Définit l'élément sélectionné sur un élément d'IU cible, identifié comme un ObjectRepositoryTarget.
SetSelectedItem(SelectorTarget, string, MobileOptions.SetSelectedItemOptions)Définit l'élément sélectionné sur un élément d'IU cible, identifié comme un SelectorTarget.

SetSelectedItem(IElementDescriptor, string, MobileOptions.SetSelectedItemOptions)

Définit l'élément sélectionné sur un élément d'IU cible, identifié comme un IElementDescriptor.

SetSelectedItem(
	    IElementDescriptor element,
	    string selectedItem,
	    MobileOptions. SetSelectedItemOptions options = null
)
SetSelectedItem(
	    IElementDescriptor element,
	    string selectedItem,
	    MobileOptions. SetSelectedItemOptions options = null
)

element : un élément d’IU du référentiel d’objets auquel vous accédez à l’aide de la classe ObjectRepository.Descriptors .

Visit [Using objects in coded automations with
Mobile Automation](https://docs.uipath.com/studio/standalone/2024.4/user-guide/creating-an-object-repository#using-objects-in-coded-automations-with-mobile-automation) to learn how to use Object Repository elements
with mobile automation.
Visit [Using objects in coded automations with
Mobile Automation](https://docs.uipath.com/fr/studio/standalone/2024.4/user-guide/creating-an-object-repository#using-objects-in-coded-automations-with-mobile-automation) to learn how to use Object Repository elements
with mobile automation.

selectedItem Chaîne : l'élément qui sera sélectionné après cet appel.

options MobileOptions.SetSelectedItemOptions : spécifie le MobileOptions.SetSelectedItemOptions de l'action de texte définie. La valeur par défaut est null.

SetSelectedItem(ObjectRepositoryTarget, string, MobileOptions.SelectedItemOptions)

Définit l'élément sélectionné sur un élément d'IU cible, identifié comme un ObjectRepositoryTarget.

SetSelectedItem(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string selectedItem,
	    MobileOptions. SetSelectedItemOptions options = null
)
SetSelectedItem(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string selectedItem,
	    MobileOptions. SetSelectedItemOptions options = null
)

objectRepositoryTarget Cible du référentiel d’objet : un objet de type ObjectRepositoryTarget.

selectedItem Chaîne : l'élément qui sera sélectionné après cet appel.

options MobileOptions.SetSelectedItemOptions : spécifie le MobileOptions.SetSelectedItemOptions de l'action de texte définie. La valeur par défaut est null.

SetSelectedItem(SelectorTarget, string, MobileOptions.SetSelectedItemOptions)

Définit l'élément sélectionné sur un élément d'IU cible, identifié comme un SelectorTarget.

SetSelectedItem(
	    SelectorTarget targetSelector,
	    string selectedItem,
	    MobileOptions. SetSelectedItemOptions options = null
)
SetSelectedItem(
	    SelectorTarget targetSelector,
	    string selectedItem,
	    MobileOptions. SetSelectedItemOptions options = null
)

targetSelector Cible de sélecteur : un objet de type SelectorTarget . Peut être créé à l’aide de la méthode FromSelector(String) .

selectedItem Chaîne : l'élément qui sera sélectionné après cet appel.

options MobileOptions.SetSelectedItemOptions : spécifie le MobileOptions.SetSelectedItemOptions de l'action de texte définie. La valeur par défaut est null.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour