activities
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

UI Automation アクティビティ

最終更新日時 2026年3月13日

GetSelectedItem

選択した項目を対象の UI 要素から取得します。

定義

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

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

オーバー ロード

オーバーロード説明
GetSelectedItem(IElementDescriptor, MobileOptions.GetSelectedItemOptions)IElementDescriptor として識別されたターゲット UI 要素から、選択した項目を取得します。
GetSelectedItem(ObjectRepositoryTarget, MobileOptions.GetSelectedItemOptions)ObjectRepositoryTarget として識別されたターゲット UI 要素から、選択した項目を取得します。
GetSelectedItem(SelectorTarget, MobileOptions.GetSelectedItemOptions)SelectorTarget として識別されたターゲット UI 要素から、選択した項目を取得します。

ElementExists(IElementDescriptor, MobileOptions.ElementExistsOptions)

IElementDescriptor として識別されたターゲット UI 要素から、選択した項目を取得します。

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

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

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/ja/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 クラス (任意) : GetSelectedItemアクションのMobileOptions.GetSelectedItemOptionsを指定します。既定値は null です。

GetSelectedItem(ObjectRepositoryTarget, MobileOptions.GetSelectedItemOptions)

ObjectRepositoryTarget として識別されたターゲット UI 要素から、選択した項目を取得します。

GetSelectedItem(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. GetSelectedItemOptions options = null
)
GetSelectedItem(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. GetSelectedItemOptions options = null
)

objectRepositoryTarget ObjectRepositoryTarget : ObjectRepositoryTarget型のオブジェクトです。FromObjectRepository(String, String, String, String) または FromObjectRepository(String[] , String, String, String) メソッドを使用して構築できます。

MobileOptions.GetSelectedItemOptions MobileOptions.GetSelectedItemOptions クラス (任意) : GetSelectedItemアクションのMobileOptions.GetSelectedItemOptionsを指定します。既定値は null です。

GetSelectedItem(SelectorTarget, MobileOptions.GetSelectedItemOptions)

SelectorTarget として識別されたターゲット UI 要素から、選択した項目を取得します。

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

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

MobileOptions.GetSelectedItemOptions MobileOptions.GetSelectedItemOptions クラス (任意) : GetSelectedItemアクションのMobileOptions.GetSelectedItemOptionsを指定します。既定値は null です。

戻り値

選択した項目です。文字列に格納されます。

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得