アクティビティ
最新
バナーの背景画像
UI Automation のアクティビティ
最終更新日 2024年4月26日

属性を取得

指定した 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:
    • 属性 - 取得する属性の名前です。

GetAttribute(TargetAnchorableModel, GetAttributeOptions)

TargetAnchorableModel オブジェクトによって識別される、指定した UI 要素の指定した属性の値を取得します。同時に、その他の設定も行います。
GetAttribute(
    TargetAnchorableModel target,
    GetAttributeOptions getAttributeOptions)GetAttribute(
    TargetAnchorableModel target,
    GetAttributeOptions getAttributeOptions)
target TargetAnchorableModel
TargetAnchorableModel オブジェクトによって識別される、目的の属性の取得元のターゲットです。
getAttributeOptions GetAttributeOptions
属性値の取得プロセスをカスタマイズするための追加のオプションです。 以下をカスタマイズできます。
  • GetAttributeBaseOptions:
    • 属性 - 取得する属性の名前です。

GetAttribute(String, GetAttributeOptions)

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

GetAttribute(
    string target,
    GetAttributeOptions getAttributeOptions)GetAttribute(
    string target,
    GetAttributeOptions getAttributeOptions)
target String
目的の属性の取得元のターゲットです。オブジェクト リポジトリの文字列によって識別されます。
getAttributeOptions GetAttributeOptions
属性値の取得プロセスをカスタマイズするための追加のオプションです。 以下をカスタマイズできます。
  • GetAttributeBaseOptions:
    • 属性 - 取得する属性の名前です。

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:
    • 属性 - 取得する属性の名前です。

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
取得する属性の名前です。

戻り値

属性の値。

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.