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

属性を取得

モバイル オートメーションのコード化されたオートメーション API の属性を取得: 指定した UI 要素の属性を取得します。

指定した UI 要素の属性を取得します。

定義​

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

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

オーバー ロード​

オーバーロード説明
GetAttribute(IElementDescriptor, string, MobileOptions.GetAttributeOptions)IEelementDescriptor として識別された、指定した UI 要素の属性を取得します。
GetAttribute(ObjectRepositoryTarget, string, MobileOptions.GetAttributeOptions)ObjectRepositoryTarget として識別された、指定した UI 要素の属性を取得します。
GetAttribute(SelectorTarget, string, MobileOptions.GetAttributeOptions)SelectorTarget として識別された、指定した UI 要素の属性を取得します。

GetAttribute(IElementDescriptor, string, MobileOptions.GetAttributeOptions)​

IEelementDescriptor として識別された、指定した UI 要素の属性を取得します。

GetAttribute(
	    IElementDescriptor element,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
GetAttribute(
	    IElementDescriptor element,
	    string attributeName,
	    MobileOptions. GetAttributeOptions 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.

attributeName文字列: 指定した UI 要素から取得する属性の名前です。

options MobileOptions.GetAttributeOptions (任意): GetAttributeアクションのMobileOptions.GetAttributeOptionsを指定します。既定値は null です。

GetAttribute(ObjectRepositoryTarget, string, MobileOptions.GetAttributeOptions)​

ObjectRepositoryTarget として識別された、指定した UI 要素の属性を取得します。

GetAttribute(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
GetAttribute(
	    ObjectRepositoryTarget objectRepositoryTarget,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)

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

attributeName文字列: 指定した UI 要素から取得する属性の名前です。

options MobileOptions.GetAttributeOptions (任意): GetAttributeアクションのMobileOptions.GetAttributeOptionsを指定します。既定値は null です。

GetAttribute(SelectorTarget, string, MobileOptions.GetAttributeOptions)​

SelectorTarget として識別された、指定した UI 要素の属性を取得します。

GetAttribute(
	    SelectorTarget targetSelector,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)
GetAttribute(
	    SelectorTarget targetSelector,
	    string attributeName,
	    MobileOptions. GetAttributeOptions options = null
)

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

attributeName文字列: 指定した UI 要素から取得する属性の名前です。

options MobileOptions.GetAttributeOptions (任意): GetAttributeアクションのMobileOptions.GetAttributeOptionsを指定します。既定値は null です。

戻り値​

取得した属性の値。

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得