返回堆栈中所提供索引处的元素,但不将其移除。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
UITestAction Peek(
int nth
)
UITestAction^ Peek(
int nth
)
abstract Peek :
nth:int -> UITestAction
Function Peek (
nth As Integer
) As UITestAction
参数
- nth
一个 int,指示要检索的元素的索引。
返回值
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
位于指定索引处的元素。
请参阅
UITestAction
Peek 重载
IUITestActionStack 接口
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
返回页首