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

UI Automation アクティビティ

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

属性を取得

指定した UI 要素が持つ特定の属性の値を取得します。

この API は Open または Attach の後に追加する必要があります。

定義

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

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

オーバー ロード

オーバーロード説明
GetAttribute(RuntimeTarget, GetAttributeOptions)オブジェクト リポジトリ要素のランタイム インスタンスによって識別される、指定した UI 要素の指定した属性の値を取得します。同時に、その他の設定も行います。
GetAttribute(TargetAnchorableModel, GetAttributeOptions)TargetAnchorableModel オブジェクトによって識別される、指定した UI 要素の指定した属性の値を取得します。同時に、その他の設定も行います。
GetAttribute(String, GetAttributeOptions)オブジェクト リポジトリの文字列によって識別される、指定した UI 要素の指定した属性の値を取得します。同時に、その他の設定も行います。
GetAttribute(IElementDescriptor, String)オブジェクト リポジトリの要素の記述子によって識別される、指定した UI 要素の指定した属性の値を取得します。同時に、属性の名前も指定します。
GetAttribute(IElementDescriptor, GetAttributeOptions)オブジェクト リポジトリの UI 要素の記述子によって識別される、指定した UI 要素が持つ指定した属性の値を取得します。同時に、その他の設定も行います。
GetAttribute(String, String)オブジェクト リポジトリの文字列によって識別される、指定した UI 要素の指定した属性の値を、属性の名前を指定して取得します。
GetAttribute(TargetAnchorableModel, String)TargetAnchorableModel オブジェクトによって識別される、指定した UI 要素の指定した属性の値を、属性の名前を指定して取得します。

GetAttribute(RuntimeTarget, GetAttributeOptions)

オブジェクト リポジトリ要素のランタイム インスタンスによって識別される、指定した UI 要素の指定した属性の値を取得します。同時に、その他の設定も行います。

GetAttribute(
    RuntimeTarget target,
    GetAttributeOptions getAttributeOptions)
GetAttribute(
    RuntimeTarget target,
    GetAttributeOptions getAttributeOptions)

target RuntimeTarget : 目的の属性を取得するターゲットです。オブジェクト リポジトリ要素のランタイム インスタンスによって識別されます。

getAttributeOptions GetAttributeOptions : 属性値の取得プロセスをカスタマイズするための追加のオプションです。以下をカスタマイズできます。

* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.
* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.

GetAttribute(TargetAnchorableModel, GetAttributeOptions)

TargetAnchorableModel オブジェクトによって識別される、指定した UI 要素の指定した属性の値を取得します。同時に、その他の設定も行います。

GetAttribute(
    TargetAnchorableModel target,
    GetAttributeOptions getAttributeOptions)
GetAttribute(
    TargetAnchorableModel target,
    GetAttributeOptions getAttributeOptions)

target TargetAnchorableModel : TargetAnchorableModel オブジェクトによって識別される、目的の属性を取得するターゲットです。

getAttributeOptions GetAttributeOptions : 属性値の取得プロセスをカスタマイズするための追加のオプションです。以下をカスタマイズできます。

* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.
* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.

GetAttribute(String, GetAttributeOptions)

オブジェクト リポジトリの文字列によって識別される、指定した UI 要素の指定した属性の値を取得します。同時に、その他の設定も行います。

GetAttribute(
    string target,
    GetAttributeOptions getAttributeOptions)
GetAttribute(
    string target,
    GetAttributeOptions getAttributeOptions)

target String : 目的の属性の取得元のターゲットです。オブジェクト リポジトリの文字列によって識別されます。

getAttributeOptions GetAttributeOptions : 属性値の取得プロセスをカスタマイズするための追加のオプションです。以下をカスタマイズできます。

* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.
* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.

GetAttribute(IElementDescriptor, String)

オブジェクト リポジトリの要素の記述子によって識別される、指定した UI 要素の指定した属性の値を取得します。同時に、属性の名前も指定します。

GetAttribute(
    IElementDescriptor elementDescriptor,
    string attribute)
GetAttribute(
    IElementDescriptor elementDescriptor,
    string attribute)

elementDescriptor IElementDescriptor : 属性値の取得元の要素です。オブジェクト リポジトリの UI 要素の記述子によって識別されます。

attribute String : 取得する属性の名前です。

GetAttribute(IElementDescriptor, GetAttributeOptions)

オブジェクト リポジトリの UI 要素の記述子によって識別される、指定した UI 要素が持つ指定した属性の値を取得します。同時に、その他の設定も行います。

GetAttribute(
    IElementDescriptor elementDescriptor,
    GetAttributeOptions getAttributeOptions)
GetAttribute(
    IElementDescriptor elementDescriptor,
    GetAttributeOptions getAttributeOptions)

elementDescriptor IElementDescriptor : 属性値の取得元の要素です。オブジェクト リポジトリの UI 要素の記述子によって識別されます。

getAttributeOptions GetAttributeOptions : 属性値の取得プロセスをカスタマイズするための追加のオプションです。以下をカスタマイズできます。

* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.
* `GetAttributeBaseOptions`:
  + **Attribute** - The name of the attribute you want to
    retrieve.

GetAttribute(String, String)

オブジェクト リポジトリの文字列によって識別される、指定した UI 要素の指定した属性の値を、属性の名前を指定して取得します。

GetAttribute(
    string target,
    string attribute)
GetAttribute(
    string target,
    string attribute)

target String : 目的の属性の取得元のターゲットです。オブジェクト リポジトリの文字列によって識別されます。

attribute String : 取得する属性の名前です。

GetAttribute(TargetAnchorableModel, String)

TargetAnchorableModel オブジェクトによって識別される、指定した UI 要素の指定した属性の値を、属性の名前を指定して取得します。

GetAttribute(
    TargetAnchorableModel target,
    string attribute)
GetAttribute(
    TargetAnchorableModel target,
    string attribute)

target TargetAnchorableModel : TargetAnchorableModel オブジェクトによって識別される、目的の属性を取得するターゲットです。

attribute String : 取得する属性の名前です。

戻り値

属性の値。

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得