- 概述
- 用户界面自动化
- 关于“用户界面自动化”活动包
- 通过用户界面自动化实现自动化的应用程序和技术
- 项目兼容性
- UI-ANA-016 - 拉取打开浏览器 URL
- UI-ANA-017 - 出错时继续 True
- UI-ANA-018 - 列出 OCR/图像活动
- UI-DBP-006 - 容器使用情况
- UI-DBP-013 - Excel 自动化误用
- UI-DBP-030 - 选取器中的禁止变量使用情况
- UI-DBP-031 - 活动验证
- UI-PRR-001 - 模拟单击
- UI-PRR-002 - 模拟键入
- UI-PRR-003 - 打开应用程序误用
- UI-PRR-004 - 硬编码延迟
- UI-REL-001 - 选取器中的大 IDX
- UI-SEC-004 - 选取器电子邮件数据
- UI-SEC-010 - 应用程序/Url 限制
- UI-USG-011 - 不允许的属性
- UX-SEC-010 - 应用程序/Url 限制
- UX-DBP-029 - 使用不安全的密码
- UI-PST-001 - 项目设置中的审核日志级别
- UiPath 浏览器迁移工具
- 剪切区域
- 计算机视觉录制器
- 活动索引
- 激活
- 锚点基准
- 附加浏览器
- 附加窗口
- 阻止用户输入
- 标注
- 选中
- 单击
- 单击图像
- 单击图像触发器
- 单击 OCR 文本
- 单击文本
- 单击触发器
- 关闭应用程序
- 关闭选项卡
- 关闭窗口
- 上下文感知锚点
- 复制选定文本
- 元素属性更改触发器
- 存在元素
- 元素作用域
- 元素状态更改触发器
- 导出用户界面树
- 提取结构化数据
- 查找子元素
- 查找元素
- 查找图像
- 查找图像匹配项
- 查找 OCR 文本位置
- 查找相对元素
- 查找文本位置
- 获取活动窗口
- 获取上级
- 获取属性
- 获取事件信息
- 从剪贴板获取
- 获取全文
- 获取 OCR 文本
- 获取密码
- 获取位置
- 获取源元素
- 获取文本
- 获取可见文本
- 返回
- 前往
- 转至主页
- Google Cloud Vision OCR
- 隐藏窗口
- 高亮显示
- 热键触发器
- 悬停
- 悬停在图像上方
- 悬停在 OCR 文本上方
- 悬停文本
- 存在图像
- 在屏幕上指定
- 注入 .NET 代码
- 插入 Js 脚本
- 调用 ActiveX 方法
- 按键触发器
- 加载图像
- 最大化窗口
- Microsoft Azure 计算机视觉 OCR
- Microsoft OCR
- Microsoft Project Oxford Online OCR
- 最小化窗口
- 监控事件
- 鼠标触发器
- 移动窗口
- 导航至
- 存在 OCR 文本
- 在元素出现时
- 在元素消失时
- 在图像出现时
- 在图像消失时
- 打开应用程序
- 打开浏览器
- 刷新浏览器
- 重播用户事件
- 还原窗口
- 保存图像
- 选择项目
- 选择多个项目
- 发送热键
- 设置剪切区域
- 设置焦点
- 设置文本
- 设置为剪贴板
- 设置网页属性
- 显示窗口
- 启动进程
- 系统触发器
- 截取屏幕截图
- Tesseract OCR
- 存在文本
- 工具提示
- 键入
- 输入安全文本
- 使用前台
- 等待属性
- 等待元素消失
- 等待图像消失
- Computer Vision Local Server
- 移动自动化
- 终端

用户界面自动化活动
提取数据
将数据提取为数据表。
定义
命名空间:UiPath.UIAutomationNext.API.Models
程序集:UiPath.UIAutomationNext.API.Models(位于 UiPath.UIAutomationNext.API.Models dll 中)
重载
| 重载 | 描述 |
|---|---|
ExtractData(ExtractDataOptionsModel) | 将数据提取为数据表,并由ExtractDataOptionsModel对象标识。 |
ExtractData(TargetAnchorableModel, ExtractDataOptions) | 将数据提取为数据表,并由TargetAnchorableModel对象及其他配置标识。 |
ExtractData(String, ExtractDataOptions) | 将数据提取为数据表,并由对象存储库中的字符串以及其他配置标识。 |
ExtractData(IElementDescriptor, ExtractDataOptions) | 将数据提取为数据表,由对象存储库中元素的描述符以及其他配置标识。 |
ExtractData(TargetAnchorableModel, String, String, NchildInteractionMode, LimitType, Int32) | 将数据提取为由“ TargetAnchorableModel ”对象标识的数据表,同时指定 XML 字符串 (定义要提取的数据)、表格设置、交互类型、限制类型以及要提取的最大结果数。 |
ExtractData(IElementDescriptor, String, String, NchildInteractionMode, LimitType, Int32) | 将数据提取为数据表,并由对象存储库中元素的描述符标识,同时指定 XML 字符串 (定义要提取的数据)、表格设置、交互类型、限制类型和最大结果数量待提取。 |
ExtractData(String, String, String, NchildInteractionMode, LimitType, Int32) | 将数据提取为数据表,并由对象存储库中的字符串标识,同时指定 XML 字符串 (定义要提取的数据)、表格设置、交互类型、限制类型以及要提取的最大结果数。 |
ExtractData(TargetAnchorableModel, TargetAnchorableModel, String, String, Double, NchildInteractionMode, LimitType, Int32) | 将由TargetAnchorableModel对象标识的数据提取为数据表,同时指定下一页的目标、定义要提取数据的 XML 字符串、表格设置、下一页加载前的等待时间、类型交互的类型、限制类型以及要提取的最大结果数。 |
ExtractData(IElementDescriptor, String, String, String, Double, NchildInteractionMode, LimitType, Int32) | 将数据提取为数据表,并由对象存储库中元素的描述符标识,同时指定下一页的目标、定义要提取数据的 XML 字符串、表格设置、下一页加载前的等待时间、交互类型、限制类型以及要提取的最大结果数。 |
ExtractData(String, String, String, String, Double, NchildInteractionMode, LimitType, Int32) | 将数据提取为数据表,并由对象存储库中的字符串标识,同时指定下一页的目标、定义要提取数据的 XML 字符串、表格设置、等待下一页加载的时间、类型交互的类型、限制类型以及要提取的最大结果数。 |
ExtractData(ExtractDataOptionsModel)
将数据提取为数据表,并由ExtractDataOptionsModel对象标识。
ExtractData(
ExtractDataOptionsModel options)
ExtractData(
ExtractDataOptionsModel options)
options ExtractDataOptionsModel :要从中获取数据的目标,由ExtractDataOptionsModel对象标识。
ExtractData(TargetAnchorableModel, ExtractDataOptions)
将数据提取为数据表,并由TargetAnchorableModel对象及其他配置标识。
ExtractData(
TargetAnchorableModel target,
ExtractDataOptions extractDataOptions)
ExtractData(
TargetAnchorableModel target,
ExtractDataOptions extractDataOptions)
target TargetAnchorableModel :要从中获取数据的目标,由TargetAnchorableModel对象标识。
extractDataOptions ExtractDataOptions :用于自定义数据提取的其他选项。您可以选择自定义以下项目:
* `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).
* `ExtractMetadata` - An XML string that enables you to
define what data to extract from the target.
* `TableSettings` - The table settings used when
extracting data.
* `NChildInteractionMode` - The type of the interaction
to use performing the actions.
* `LimitType` - Specifies the type of limit that
you want to use when extracting data.
* `NumberOfItems` - The maximum number of results to be
extracted. If the value is 0, all the identified elements are added
to the output.
* `NextPageOptions` - The target on the next page
to get data from and the delay between pages.
* `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).
* `ExtractMetadata` - An XML string that enables you to
define what data to extract from the target.
* `TableSettings` - The table settings used when
extracting data.
* `NChildInteractionMode` - The type of the interaction
to use performing the actions.
* `LimitType` - Specifies the type of limit that
you want to use when extracting data.
* `NumberOfItems` - The maximum number of results to be
extracted. If the value is 0, all the identified elements are added
to the output.
* `NextPageOptions` - The target on the next page
to get data from and the delay between pages.
ExtractData(String, ExtractDataOptions)
将数据提取为数据表,并由对象存储库中的字符串以及其他配置标识。
ExtractData(
string target,
ExtractDataOptions extractDataOptions)
ExtractData(
string target,
ExtractDataOptions extractDataOptions)
target String :要从中获取数据的目标,由对象存储库中的字符串标识。
extractDataOptions ExtractDataOptions :用于自定义数据提取的其他选项。您可以选择自定义以下项目:
* `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).
* `ExtractMetadata` - An XML string that enables you to
define what data to extract from the target.
* `TableSettings` - The table settings used when
extracting data.
* `NChildInteractionMode` - The type of the interaction
to use performing the actions.
* `LimitType` - Specifies the type of limit that
you want to use when extracting data.
* `NumberOfItems` - The maximum number of results to be
extracted. If the value is 0, all the identified elements are added
to the output.
* `NextPageOptions` - The target on the next page to get
data from and the delay between pages.
* `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).
* `ExtractMetadata` - An XML string that enables you to
define what data to extract from the target.
* `TableSettings` - The table settings used when
extracting data.
* `NChildInteractionMode` - The type of the interaction
to use performing the actions.
* `LimitType` - Specifies the type of limit that
you want to use when extracting data.
* `NumberOfItems` - The maximum number of results to be
extracted. If the value is 0, all the identified elements are added
to the output.
* `NextPageOptions` - The target on the next page to get
data from and the delay between pages.
ExtractData(IElementDescriptor, ExtractDataOptions)
将数据提取为数据表,由对象存储库中元素的描述符以及其他配置标识。
ExtractData(
IElementDescriptor elementDescriptor,
ExtractDataOptions extractDataOptions)
ExtractData(
IElementDescriptor elementDescriptor,
ExtractDataOptions extractDataOptions)
elementDescriptor IElementDescriptor :要从中获取数据的目标,由对象存储库中元素的描述符标识。
extractDataOptions ExtractDataOptions :用于自定义数据提取的其他选项。您可以选择自定义以下项目:
* `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).
* `ExtractMetadata` - An XML string that enables you to
define what data to extract from the target.
* `TableSettings` - The table settings used when
extracting data.
* `NChildInteractionMode` - The type of the interaction
to use performing the actions.
* `LimitType` - Specifies the type of limit that
you want to use when extracting data.
* `NumberOfItems` - The maximum number of results to be
extracted. If the value is 0, all the identified elements are added
to the output.
* `NextPageOptions` - The target on the next page to get
data from and the delay between pages.
* `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).
* `ExtractMetadata` - An XML string that enables you to
define what data to extract from the target.
* `TableSettings` - The table settings used when
extracting data.
* `NChildInteractionMode` - The type of the interaction
to use performing the actions.
* `LimitType` - Specifies the type of limit that
you want to use when extracting data.
* `NumberOfItems` - The maximum number of results to be
extracted. If the value is 0, all the identified elements are added
to the output.
* `NextPageOptions` - The target on the next page to get
data from and the delay between pages.
ExtractData(TargetAnchorableModel, String, String, NchildInteractionMode, LimitType, Int32)
将数据提取为由“ TargetAnchorableModel ”对象标识的数据表,同时指定 XML 字符串 (定义要提取的数据)、表格设置、交互类型、限制类型以及要提取的最大结果数。
ExtractData(
TargetAnchorableModel target,
string extractMetadata,
[string tableSettings],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
ExtractData(
TargetAnchorableModel target,
string extractMetadata,
[string tableSettings],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
target TargetAnchorableModel :要从中获取数据的目标,由TargetAnchorableModel对象标识。
extractMetadata String :一个 XML 字符串,用于定义从目标中提取的数据。
tableSettings String :提取数据时使用的表格设置。
interactionMode NChildInteractionMode :执行操作时使用的交互类型(例如交互或交互)。
limitExtractionTo LimitType :指定提取数据时要使用的限制类型。
numberOfItems Int32 :要提取的结果的最大数量。如果值为 0,则将所有已确定的元素添加到输出中。
ExtractData(String, String, String, NchildInteractionMode, LimitType, Int32)
将数据提取为数据表,并由对象存储库中元素的描述符标识,同时指定 XML 字符串 (定义要提取的数据)、表格设置、交互类型、限制类型和最大结果数量待提取。
ExtractData(
IElementDescriptor elementDescriptor,
string extractMetadata,
[string tableSettings],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
ExtractData(
IElementDescriptor elementDescriptor,
string extractMetadata,
[string tableSettings],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
elementDescriptor IElementDescriptor :要从中获取数据的目标,由对象存储库中元素的描述符标识。
extractMetadata String :一个 XML 字符串,用于定义从目标中提取的数据。
tableSettings String :提取数据时使用的表格设置。
interactionMode NChildInteractionMode :执行操作时使用的交互类型(例如交互或交互)。
limitExtractionTo LimitType :指定提取数据时要使用的限制类型。
numberOfItems Int32 :要提取的结果的最大数量。如果值为 0,则将所有已确定的元素添加到输出中。
ExtractData(String, String, String, NchildInteractionMode, LimitType, Int32)
将数据提取为数据表,并由对象存储库中的字符串标识,同时指定 XML 字符串 (定义要提取的数据)、表格设置、交互类型、限制类型以及要提取的最大结果数。
ExtractData(
string target,
string extractMetadata,
[string tableSettings],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
ExtractData(
string target,
string extractMetadata,
[string tableSettings],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
target String :要从中获取数据的目标,由对象存储库中的字符串标识。
extractMetadata String :一个 XML 字符串,用于定义从目标中提取的数据。
tableSettings String :提取数据时使用的表格设置。
interactionMode NChildInteractionMode :执行操作时使用的交互类型(例如交互或交互)。
limitExtractionTo LimitType :指定提取数据时要使用的限制类型。
numberOfItems Int32 :要提取的结果的最大数量。如果值为 0,则将所有已确定的元素添加到输出中。
ExtractData(TargetAnchorableModel, TargetAnchorableModel, String, String, Double, NchildInteractionMode, LimitType, Int32)
将由TargetAnchorableModel对象标识的数据提取为数据表,同时指定下一页的目标、定义要提取数据的 XML 字符串、表格设置、下一页加载前的等待时间、类型交互的类型、限制类型以及要提取的最大结果数。
ExtractData(
TargetAnchorableModel target,
TargetAnchorableModel nextPageTarget,
string extractMetadata,
[string tableSettings],
[double delayBetweenPages],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
ExtractData(
TargetAnchorableModel target,
TargetAnchorableModel nextPageTarget,
string extractMetadata,
[string tableSettings],
[double delayBetweenPages],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
target TargetAnchorableModel :要从中获取数据的目标,由TargetAnchorableModel对象标识。
nextPageTarget TargetAnchorableModel :要从中获取数据的下一页中的目标,由TargetAnchorableModel对象标识。
extractMetadata String :一个 XML 字符串,用于定义从目标中提取的数据。
tableSettings String :提取数据时使用的表格设置。
delayBetweenPages Double :加载下一页的等待时间(以秒为单位)。
interactionMode NChildInteractionMode :执行操作时使用的交互类型(例如交互或交互)。
limitExtractionTo LimitType :指定提取数据时要使用的限制类型。
numberOfItems Int32 :要提取的结果的最大数量。如果值为 0,则将所有已确定的元素添加到输出中。
ExtractData(IElementDescriptor, String, String, String, Double, NchildInteractionMode, LimitType, Int32)
将数据提取为数据表,并由对象存储库中元素的描述符标识,同时指定下一页的目标、定义要提取数据的 XML 字符串、表格设置、下一页加载前的等待时间、交互类型、限制类型以及要提取的最大结果数。
ExtractData(
IElementDescriptor elementDescriptor,
string nextPageTarget,
string extractMetadata,
[string tableSettings],
[double delayBetweenPages],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
ExtractData(
IElementDescriptor elementDescriptor,
string nextPageTarget,
string extractMetadata,
[string tableSettings],
[double delayBetweenPages],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
elementDescriptor IElementDescriptor :要从中获取数据的目标,由对象存储库中元素的描述符标识。
nextPageTarget String :下一页中要从中获取数据的目标,由对象存储库中的字符串标识。
extractMetadata String :一个 XML 字符串,用于定义从目标中提取的数据。
tableSettings String :提取数据时使用的表格设置。
delayBetweenPages Double :加载下一页的等待时间(以秒为单位)。
interactionMode NChildInteractionMode :执行操作时使用的交互类型(例如交互或交互)。
limitExtractionTo LimitType :指定提取数据时要使用的限制类型。
numberOfItems Int32 :要提取的结果的最大数量。如果值为 0,则将所有已确定的元素添加到输出中。
ExtractData(String, String, String, String, Double, NchildInteractionMode, LimitType, Int32)
将数据提取为数据表,并由对象存储库中的字符串标识,同时指定下一页的目标、定义要提取数据的 XML 字符串、表格设置、等待下一页加载的时间、类型交互的类型、限制类型以及要提取的最大结果数。
ExtractData(
string target,
string nextPageTarget,
string extractMetadata,
[string tableSettings],
[double delayBetweenPages],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
ExtractData(
string target,
string nextPageTarget,
string extractMetadata,
[string tableSettings],
[double delayBetweenPages],
[NChildInteractionMode interactionMode],
[LimitType limitExtractionTo],
[int? numberOfItems])
target String :要从中获取数据的目标,由对象存储库中的字符串标识。
nextPageTarget String :下一页中要从中获取数据的目标,由对象存储库中的字符串标识。
extractMetadata String :一个 XML 字符串,用于定义从目标中提取的数据。
tableSettings String :提取数据时使用的表格设置。
delayBetweenPages Double :加载下一页的等待时间(以秒为单位)。
interactionMode NChildInteractionMode :执行操作时使用的交互类型(例如交互或交互)。
limitExtractionTo LimitType :指定提取数据时要使用的限制类型。
numberOfItems Int32 :要提取的结果的最大数量。如果值为 0,则将所有已确定的元素添加到输出中。
返回值
表格格式的提取数据。
- 定义
- 重载
ExtractData(ExtractDataOptionsModel)ExtractData(TargetAnchorableModel, ExtractDataOptions)ExtractData(String, ExtractDataOptions)ExtractData(IElementDescriptor, ExtractDataOptions)ExtractData(TargetAnchorableModel, String, String, NchildInteractionMode, LimitType, Int32)ExtractData(String, String, String, NchildInteractionMode, LimitType, Int32)ExtractData(String, String, String, NchildInteractionMode, LimitType, Int32)ExtractData(TargetAnchorableModel, TargetAnchorableModel, String, String, Double, NchildInteractionMode, LimitType, Int32)ExtractData(IElementDescriptor, String, String, String, Double, NchildInteractionMode, LimitType, Int32)ExtractData(String, String, String, String, Double, NchildInteractionMode, LimitType, Int32)- 返回值