Share via


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)

Syntax

UITestAction Peek(
    int nth
)
UITestAction^ Peek(
    int nth
)
abstract Peek : 
        nth:int -> UITestAction
Function Peek (
    nth As Integer
) As UITestAction

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.

See Also

UITestAction
Peek Overload
IUITestActionStack Interface
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top