activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

用户界面自动化活动

上次更新日期 2025年9月29日

MobileOptions.TypeTextOptions 类

使用此类进一步配置TypeText API。

定义

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

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

语法

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

构造函数

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

属性

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

SendNewLine

语法

属性值布尔值

在文本中添加一个新行。 类似于按移动设备键盘上的“确定”按钮或Enter键。
public bool SendNewLine { get; set; }public bool SendNewLine { get; set; }
  • 定义
  • 语法
  • 构造函数
  • 属性
  • SendNewLine
  • 语法

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。