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

UI Automation アクティビティ

最終更新日時 2026年4月7日

ElementExists

指定された UI 要素が存在するかどうかを示すブール変数を返します。

定義

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

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

オーバー ロード

オーバーロード説明
ElementExists(IElementDescriptor, MobileOptions.ElementExistsOptions)オブジェクト リポジトリの要素 (IElementDescriptor) が存在するかどうかを示す Boolean 変数を返します。
ElementExists(ObjectRepositoryTarget, MobileOptions.ElementExistsOptions)オブジェクト リポジトリのターゲット (ObjectRepositoryTarget) が存在するかどうかを示す Boolean 変数を返します。
ElementExists(SelectorTarget, MobileOptions.ElementExistsOptions)ネイティブ セレクター (SelectorTarget) が存在するかどうかを示す Boolean 変数を返します。

ElementExists(IElementDescriptor, MobileOptions.ElementExistsOptions)

オブジェクト リポジトリの要素 (IElementDescriptor) が存在するかどうかを示す Boolean 変数を返します。

ElementExists(
	    IElementDescriptor element,
	    MobileOptions. ElementExistsOptions options = null
)
ElementExists(
	    IElementDescriptor element,
	    MobileOptions. ElementExistsOptions 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.

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

ElementExists(ObjectRepositoryTarget, MobileOptions.ElementExistsOptions)

オブジェクト リポジトリのターゲット (ObjectRepositoryTarget) が存在するかどうかを示す Boolean 変数を返します。

ElementExists(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. ElementExistsOptions options = null
)
ElementExists(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    MobileOptions. ElementExistsOptions options = null
)

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

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

ElementExists(SelectorTarget, MobileOptions.ElementExistsOptions)

ネイティブ セレクター (SelectorTarget) が存在するかどうかを示す Boolean 変数を返します。

ElementExists(
	    SelectorTarget targetSelector,
	    MobileOptions. ElementExistsOptions options = null
)
ElementExists(
	    SelectorTarget targetSelector,
	    MobileOptions. ElementExistsOptions options = null
)

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

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

戻り値

True: 要素が存在する場合、False: 要素が存在しない場合。

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得