Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IUITestActionStack::Peek Method (Int32)

 

Returns the element at the provided index from the stack without removing it.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

UITestAction^ Peek(
	int nth
)

Parameters

nth
Type: System::Int32

An int that indicates the index of the element to retrieve.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Common::UITestAction^

The element at the specified index.

Return to top
Show: