UiPath Documentation
activities
latest
false
UI Automation アクティビティ
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

SetSelectedItem

モバイル オートメーションのコード化されたオートメーション API の SetSelectedItem: 選択した項目をターゲット UI 要素に設定します。

選択した項目をターゲット要素上に設定します。

定義​

名前空間: UiPath.MobileAutomation.API.Models

アセンブリ: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

オーバー ロード​

オーバーロード説明
SetSelectedItem(IElementDescriptor, string, MobileOptions.SetSelectedItemOptions)IElementDescriptor として識別されたターゲット UI 要素に、選択した項目を設定します。
SetSelectedItem(ObjectRepositoryTarget, string, MobileOptions.SelectedItemOptions)ObjectRepositoryTarget として識別されたターゲット UI 要素に、選択した項目を設定します。
SetSelectedItem(SelectorTarget, string, MobileOptions.SetSelectedItemOptions)SelectorTarget として識別されたターゲット UI 要素に、選択した項目を設定します。

SetSelectedItem(IElementDescriptor, string, MobileOptions.SetSelectedItemOptions)​

IElementDescriptor として識別されたターゲット UI 要素に、選択した項目を設定します。

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

element: ObjectRepository.Descriptors クラスを使用してアクセスする、オブジェクト リポジトリの UI 要素。

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/ja/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 String : この呼び出しの後に選択されるアイテムです。

options MobileOptions.SetSelectedItemOptions: set text アクションの MobileOptions.SetSelectedItemOptions を指定します。既定値は null です。

SetSelectedItem(ObjectRepositoryTarget, string, MobileOptions.SelectedItemOptions)​

ObjectRepositoryTarget として識別されたターゲット UI 要素に、選択した項目を設定します。

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

objectRepositoryTarget ObjectRepositoryTarget : ObjectRepositoryTarget 型のオブジェクトです。

selectedItem String : この呼び出しの後に選択されるアイテムです。

options MobileOptions.SetSelectedItemOptions: set text アクションの MobileOptions.SetSelectedItemOptions を指定します。既定値は null です。

SetSelectedItem(SelectorTarget, string, MobileOptions.SetSelectedItemOptions)​

SelectorTarget として識別されたターゲット UI 要素に、選択した項目を設定します。

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

targetSelector SelectorTarget : SelectorTarget 型のオブジェクトです。FromSelector(String) メソッドを使用して構築できます。

selectedItem String : この呼び出しの後に選択されるアイテムです。

options MobileOptions.SetSelectedItemOptions: set text アクションの MobileOptions.SetSelectedItemOptions を指定します。既定値は null です。

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得