IUITestActionStack.Pop 方法 (Int32)

返回堆栈中指定索引处的元素并将其移除。

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

声明
Function Pop ( _
    nth As Integer _
) As UITestAction
UITestAction Pop(
    int nth
)
UITestAction^ Pop(
    int nth
)
abstract Pop : 
        nth:int -> UITestAction 
function Pop(
    nth : int
) : UITestAction

参数

  • nth
    类型:System.Int32
    一个 int,指示要检索并移除的元素的索引。

返回值

类型:Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
位于指定索引处的元素。

.NET Framework 安全性

请参见

参考

IUITestActionStack 接口

Pop 重载

Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

UITestAction