活动
最新
False
横幅背景图像
用户界面自动化活动
上次更新日期 2024年4月26日

MobileOptions.SetTextOptions 类

使用此类进一步配置设置文本API。

定义

命名空间:UiPath.MobileAutomation.API.Models

程序集:UiPath.MobileAutomation.API(在 UiPath.MobileAutomation.API.dll 中)

语法

public class SetTextOptions : MobileOptions.SetTextWithTapOptions, 
	IGenericTextInputOptionspublic class SetTextOptions : MobileOptions.SetTextWithTapOptions, 
	IGenericTextInputOptions
MobileOptions.SetTextOptions类型公开以下成员。

构造函数

public SetTextOptions()public SetTextOptions()
MobileOptions.SetTextOptions
初始化“ MobileOptions.SetTextOptions ”类的新实例。

属性

ContinueOnError
指定在方法抛出错误时是否应继续自动化。 此参数仅支持布尔值( truefalse )。 默认值为alse 。 因此,如果参数为空且活动引发错误,系统将停止执行项目。 如果该值设为true ,则无论出现何种错误,系统都将继续执行项目。
DelayAfter
执行方法后的延迟时间 (以秒为单位)。 默认值为0.3秒。
DelayBefore
方法开始执行任何操作之前的延迟时间 (以秒为单位)。 默认值为0.2秒。
Timeout
指定等待时间 (以秒为单位),如果超出该时间后活动并未运行,系统便会抛出错误。 默认值为30秒。
ClearText ClearText
在输入要设置的文本之前,清除目标中的所有文本。 默认情况下,此选项设置为 True。 此参数适用于所有目标类型。
TapBeforeType TapBeforeType
?????
SendNewLine SendNewLine
在文本中添加一个新行。 类似于在移动设备键盘上按“确定”按钮。

ClearText

语法

属性值布尔值

public bool ClearText { get; set; }public bool ClearText { get; set; }

TapBeforeType

语法

属性值Nullable<TapTypeEnum>
public TapTypeEnum? TapBeforeType { get; set; }public TapTypeEnum? TapBeforeType { get; set; }

SendNewLine

语法

属性值布尔值

public bool SendNewLine { get; set; }public bool SendNewLine { get; set; }
  • 定义
  • 语法
  • 构造函数
  • 属性
  • ClearText
  • 语法
  • TapBeforeType
  • 语法
  • SendNewLine
  • 语法

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.