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

UI Automation アクティビティ

IsEnabled

UI 要素が有効化されているかどうかを確認します。

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

定義

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

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

オーバー ロード

オーバーロード説明
IsEnabled(String)オブジェクト リポジトリの文字列で識別される UI 要素が有効化されているかどうかを確認します。
IsEnabled(IElementDescriptor)オブジェクト リポジトリの要素の記述子によって識別される UI 要素が有効化されているかどうかを確認します。
IsEnabled(IElementDescriptor, IsEnabledOptions)オブジェクト リポジトリの要素の記述子によって識別される UI 要素が有効化されているかどうかを確認します。同時に、その他のオプションも設定します。
IsEnabled(String, IsEnabledOptions)オブジェクト リポジトリの文字列によって識別される UI 要素が有効化されているかどうかを確認します。同時に、その他のオプションも設定します。
IsEnabled(TargetAnchorableModel, IsEnabledOptions)TargetAnchorableModel オブジェクトによって識別される UI 要素が有効化されているかどうかを確認します。同時に、その他のオプションも設定します。
IsEnabled(RuntimeTarget, IsEnabledOptions)オブジェクト リポジトリ要素のランタイム インスタンスによって識別される UI 要素が有効化されているかどうかを確認します。同時に、その他のオプションも設定します。

IsEnabled(String)

オブジェクト リポジトリの文字列で識別される UI 要素が有効化されているかどうかを確認します。

IsEnabled(
    string target)
IsEnabled(
    string target)

target String : 有効化されているかどうかを確認する UI 要素です。オブジェクト リポジトリの文字列によって識別されます。

IsEnabled(IElementDescriptor)

オブジェクト リポジトリの要素の記述子によって識別される UI 要素が有効化されているかどうかを確認します。

IsEnabled(
    IElementDescriptor elementDescriptor)
IsEnabled(
    IElementDescriptor elementDescriptor)

elementDescriptor IElementDescriptor : 有効化されているかどうかを確認する UI 要素です。オブジェクト リポジトリの要素の記述子によって識別されます。

IsEnabled(IElementDescriptor, IsEnabledOptions)

オブジェクト リポジトリの要素の記述子によって識別される UI 要素が有効化されているかどうかを確認します。同時に、その他のオプションも設定します。

IsEnabled(
    IElementDescriptor elementDescriptor,
    IsEnabledOptions isEnabledOptions)
IsEnabled(
    IElementDescriptor elementDescriptor,
    IsEnabledOptions isEnabledOptions)

elementDescriptor IElementDescriptor : 有効化されているかどうかを確認する UI 要素です。オブジェクト リポジトリの要素の記述子によって識別されます。

isEnabledOptions IsEnabledOptions : 検証プロセスをカスタマイズするための追加のオプションです。以下をカスタマイズできます。

* `TargetOptions`:
  + `Timeout` - Specifies the amount of time (in
    seconds) to wait for the API to run before the
    `SelectorNotFoundException` error is
    thrown. The default value is 30 seconds.
  + `DelayAfter` - Delay time (in seconds) after
    executing the API. The default amount of time is 0.3 seconds
    (300 milliseconds).
  + `DelayBefore` - Delay time (in seconds)
    before the API begins performing any operations. The default
    amount of time is 0.2 seconds (200 milliseconds).
* `TargetOptions`:
  + `Timeout` - Specifies the amount of time (in
    seconds) to wait for the API to run before the
    `SelectorNotFoundException` error is
    thrown. The default value is 30 seconds.
  + `DelayAfter` - Delay time (in seconds) after
    executing the API. The default amount of time is 0.3 seconds
    (300 milliseconds).
  + `DelayBefore` - Delay time (in seconds)
    before the API begins performing any operations. The default
    amount of time is 0.2 seconds (200 milliseconds).

IsEnabled(String, IsEnabledOptions)

オブジェクト リポジトリの文字列によって識別される UI 要素が有効化されているかどうかを確認します。同時に、その他のオプションも設定します。

IsEnabled(
    string target,
    IsEnabledOptions isEnabledOptions)
IsEnabled(
    string target,
    IsEnabledOptions isEnabledOptions)

target String : 有効化されているかどうかを確認する UI 要素です。オブジェクト リポジトリの文字列によって識別されます。

isEnabledOptions IsEnabledOptions : 検証プロセスをカスタマイズするための追加のオプションです。以下をカスタマイズできます。

* `TargetOptions`:
  + `Timeout` - Specifies the amount of time (in
    seconds) to wait for the API to run before the
    `SelectorNotFoundException` error is
    thrown. The default value is 30 seconds.
  + `DelayAfter` - Delay time (in seconds) after
    executing the API. The default amount of time is 0.3 seconds
    (300 milliseconds).
  + `DelayBefore` - Delay time (in seconds)
    before the API begins performing any operations. The default
    amount of time is 0.2 seconds (200 milliseconds).
* `TargetOptions`:
  + `Timeout` - Specifies the amount of time (in
    seconds) to wait for the API to run before the
    `SelectorNotFoundException` error is
    thrown. The default value is 30 seconds.
  + `DelayAfter` - Delay time (in seconds) after
    executing the API. The default amount of time is 0.3 seconds
    (300 milliseconds).
  + `DelayBefore` - Delay time (in seconds)
    before the API begins performing any operations. The default
    amount of time is 0.2 seconds (200 milliseconds).

IsEnabled(TargetAnchorableModel, IsEnabledOptions)

TargetAnchorableModel オブジェクトによって識別される UI 要素が有効化されているかどうかを確認します。同時に、その他のオプションも設定します。

IsEnabled(
    TargetAnchorableModel target,
    IsEnabledOptions isEnabledOptions)
IsEnabled(
    TargetAnchorableModel target,
    IsEnabledOptions isEnabledOptions)

target TargetAnchorableModel : 有効化されているかどうかを確認する UI 要素です。 TargetAnchorableModel オブジェクトによって識別されます。

isEnabledOptions IsEnabledOptions : 検証プロセスをカスタマイズするための追加のオプションです。以下をカスタマイズできます。

* `TargetOptions`:
  + `Timeout` - Specifies the amount of time (in
    seconds) to wait for the API to run before the
    `SelectorNotFoundException` error is
    thrown. The default value is 30 seconds.
  + `DelayAfter` - Delay time (in seconds) after
    executing the API. The default amount of time is 0.3 seconds
    (300 milliseconds).
  + `DelayBefore` - Delay time (in seconds)
    before the API begins performing any operations. The default
    amount of time is 0.2 seconds (200 milliseconds).
* `TargetOptions`:
  + `Timeout` - Specifies the amount of time (in
    seconds) to wait for the API to run before the
    `SelectorNotFoundException` error is
    thrown. The default value is 30 seconds.
  + `DelayAfter` - Delay time (in seconds) after
    executing the API. The default amount of time is 0.3 seconds
    (300 milliseconds).
  + `DelayBefore` - Delay time (in seconds)
    before the API begins performing any operations. The default
    amount of time is 0.2 seconds (200 milliseconds).

IsEnabled(RuntimeTarget, IsEnabledOptions)

オブジェクト リポジトリ要素のランタイム インスタンスによって識別される UI 要素が有効化されているかどうかを確認します。同時に、その他のオプションも設定します。

IsEnabled(
    RuntimeTarget target,
    [IsEnabledOptions isEnabledOptions])
IsEnabled(
    RuntimeTarget target,
    [IsEnabledOptions isEnabledOptions])

target RuntimeTarget : 有効化されているかどうかを確認する UI 要素です。オブジェクト リポジトリの要素のランタイム インスタンスによって識別されます。

isEnabledOptions IsEnabledOptions : 検証プロセスをカスタマイズするための追加のオプションです。以下をカスタマイズできます。

* `TargetOptions`:
  + `Timeout` - Specifies the amount of time (in
    seconds) to wait for the API to run before the
    `SelectorNotFoundException` error is
    thrown. The default value is 30 seconds.
  + `DelayAfter` - Delay time (in seconds) after
    executing the API. The default amount of time is 0.3 seconds
    (300 milliseconds).
  + `DelayBefore` - Delay time (in seconds)
    before the API begins performing any operations. The default
    amount of time is 0.2 seconds (200 milliseconds).
* `TargetOptions`:
  + `Timeout` - Specifies the amount of time (in
    seconds) to wait for the API to run before the
    `SelectorNotFoundException` error is
    thrown. The default value is 30 seconds.
  + `DelayAfter` - Delay time (in seconds) after
    executing the API. The default amount of time is 0.3 seconds
    (300 milliseconds).
  + `DelayBefore` - Delay time (in seconds)
    before the API begins performing any operations. The default
    amount of time is 0.2 seconds (200 milliseconds).

戻り値

UI 要素が有効化されているかどうかによって True または False の値が返されます。

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得