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

滑动

滑动操作会遍历列表中的多次滑动(直到达到MaxNumberOfSwiches 次数),直到找到指定的元素。 如果未设置“目标”,则滑动操作将执行单次滑动,而不搜索特定元素。

定义

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

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

重载

重载描述
Swipe(IElementDescriptor, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)在指定容器内作为IElementDescriptor执行滑动操作,直到找到IElementDescriptor目标。 第一个参数指定容器,而第二个参数定义滑动操作的目标。
Swipe(IElementDescriptor, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)在指定容器内作为IElementDescriptor执行滑动操作,直到找到ObjectRepositoryTarget目标。 第一个参数指定容器,而第二个参数定义滑动操作的目标。
Swipe(IElementDescriptor, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)在指定容器内作为IElementDescriptor执行滑动操作,直到找到SelectorTarget目标。 第一个参数指定容器,而第二个参数定义滑动操作的目标。
Swipe(ObjectRepositoryTarget, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)在指定容器内作为ObjectRepositoryTarget执行滑动操作,直到找到IElementDescriptor目标。 第一个参数指定容器,而第二个参数定义滑动操作的目标。
Swipe(ObjectRepositoryTarget, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)在指定容器内作为ObjectRepositoryTarget执行滑动操作,直到找到ObjectRepositoryTarget目标。 第一个参数指定容器,而第二个参数定义滑动操作的目标。
Swipe(ObjectRepositoryTarget, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)在指定容器内作为ObjectRepositoryTarget执行滑动操作,直到找到SelectorTarget目标。 第一个参数指定容器,而第二个参数定义滑动操作的目标。
Swipe(SelectorTarget, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)在指定容器内作为SelectorTarget执行滑动操作,直到找到IElementDescriptor目标。 第一个参数指定容器,而第二个参数定义滑动操作的目标。
Swipe(SelectorTarget, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)在指定容器内作为SelectorTarget执行滑动操作,直到找到ObjectRepositoryTarget目标。 第一个参数指定容器,而第二个参数定义滑动操作的目标。
Swipe(SelectorTarget, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)在指定容器内作为SelectorTarget执行滑动操作,直到找到SelectorTarget目标。 第一个参数指定容器,而第二个参数定义滑动操作的目标。

Swipe(IElementDescriptor, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)

执行从IElementDescriptorIElementDescriptor的滑动操作。
Swipe(
	    IElementDescriptor container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    IElementDescriptor container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container IElementDescriptor
此元素用于定义滑动操作的容器。
target IElementDescriptor
用于定义滑动操作目标的元素。
swipeDirection SwipeDirection (可选)
滑动操作的方向。
maxNumberOfSwipes Int32 (可选)
获得所需结果的最大滑动次数。
options MobileOptions.SwipeOptions
指定滑动操作的MobileOptions.SwipeOptions 。 默认值为 null。

Swipe(IElementDescriptor, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

执行从IElementDescriptorObjectRepositoryTarget的滑动操作。
Swipe(
	    IElementDescriptor container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    IElementDescriptor container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container IElementDescriptor
此元素用于定义滑动操作的容器。
target ObjectRepositoryTarget
用于定义滑动操作目标的元素。
swipeDirection SwipeDirection (可选)
滑动操作的方向。
maxNumberOfSwipes Int32 (可选)
获得所需结果的最大滑动次数。
options MobileOptions.SwipeOptions
指定滑动操作的MobileOptions.SwipeOptions 。 默认值为 null。

Swipe(IElementDescriptor, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

执行从IElementDescriptorSelectorTarget的滑动操作。
Swipe(
	    IElementDescriptor container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    IElementDescriptor container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container IElementDescriptor
此元素用于定义滑动操作的容器。
target SelectorTarget
用于定义滑动操作目标的元素。
swipeDirection SwipeDirection (可选)
滑动操作的方向。
maxNumberOfSwipes Int32 (可选)
获得所需结果的最大滑动次数。
options MobileOptions.SwipeOptions
指定滑动操作的MobileOptions.SwipeOptions 。 默认值为 null。

Swipe(ObjectRepositoryTarget, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)

执行从ObjectRepositoryTargetIElementDescriptor的滑动操作。
Swipe(
	    ObjectRepositoryTarget container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    ObjectRepositoryTarget container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container ObjectRepositoryTarget
此元素用于定义滑动操作的容器。
target IElementDescriptor
用于定义滑动操作目标的元素。
swipeDirection SwipeDirection (可选)
滑动操作的方向。
maxNumberOfSwipes Int32 (可选)
获得所需结果的最大滑动次数。
options MobileOptions.SwipeOptions
指定滑动操作的MobileOptions.SwipeOptions 。 默认值为 null。

Swipe(ObjectRepositoryTarget, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

执行从ObjectRepositoryTargetObjectRepositoryTarget的滑动操作。
Swipe(
	    ObjectRepositoryTarget container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    ObjectRepositoryTarget container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container ObjectRepositoryTarget
此元素用于定义滑动操作的容器。
target ObjectRepositoryTarget
用于定义滑动操作目标的元素。
swipeDirection SwipeDirection (可选)
滑动操作的方向。
maxNumberOfSwipes Int32 (可选)
获得所需结果的最大滑动次数。
options MobileOptions.SwipeOptions
指定滑动操作的MobileOptions.SwipeOptions 。 默认值为 null。

Swipe(ObjectRepositoryTarget, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

执行从ObjectRepositoryTargetSelectorTarget的滑动操作。
Swipe(
	    ObjectRepositoryTarget container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    ObjectRepositoryTarget container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container ObjectRepositoryTarget
此元素用于定义滑动操作的容器。
target SelectorTarget
用于定义滑动操作目标的元素。
swipeDirection SwipeDirection (可选)
滑动操作的方向。
maxNumberOfSwipes Int32 (可选)
获得所需结果的最大滑动次数。
options MobileOptions.SwipeOptions
指定滑动操作的MobileOptions.SwipeOptions 。 默认值为 null。

Swipe(SelectorTarget, IElementDescriptor, SwipeDirection, int, MobileOptions.SwipeOptions)

执行从SelectorTargetIElementDescriptor的滑动操作。
Swipe(
	    SelectorTarget container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    SelectorTarget container,
	    IElementDescriptor target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container SelectorTarget
此元素用于定义滑动操作的容器。
target IElementDescriptor
用于定义滑动操作目标的元素。
swipeDirection SwipeDirection (可选)
滑动操作的方向。
maxNumberOfSwipes Int32 (可选)
获得所需结果的最大滑动次数。
options MobileOptions.SwipeOptions
指定滑动操作的MobileOptions.SwipeOptions 。 默认值为 null。

Swipe(SelectorTarget, ObjectRepositoryTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

执行从SelectorTargetObjectRepositoryTarget的滑动操作。
Swipe(
	    SelectorTarget container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    SelectorTarget container,
	    ObjectRepositoryTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container SelectorTarget
此元素用于定义滑动操作的容器。
target ObjectRepositoryTarget
用于定义滑动操作目标的元素。
swipeDirection SwipeDirection (可选)
滑动操作的方向。
maxNumberOfSwipes Int32 (可选)
获得所需结果的最大滑动次数。
options MobileOptions.SwipeOptions
指定滑动操作的MobileOptions.SwipeOptions 。 默认值为 null。

Swipe(SelectorTarget, SelectorTarget, SwipeDirection, int, MobileOptions.SwipeOptions)

执行从SelectorTargetSelectorTarget的滑动操作。
Swipe(
	    SelectorTarget container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)Swipe(
	    SelectorTarget container,
	    SelectorTarget target,
	    SwipeDirection swipeDirection = SwipeDirection.Down,
	    int maxNumberOfSwipes = 10,
	    MobileOptions. SwipeOptions options = null
)
container SelectorTarget
此元素用于定义滑动操作的容器。
target SelectorTarget
用于定义滑动操作目标的元素。
swipeDirection SwipeDirection (可选)
滑动操作的方向。
maxNumberOfSwipes Int32 (可选)
获得所需结果的最大滑动次数。
options MobileOptions.SwipeOptions
指定滑动操作的MobileOptions.SwipeOptions 。 默认值为 null。

此页面是否有帮助?

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