Partilhar via


Método IUITestActionStack.Peek (Int32)

 

Retorna o elemento no índice fornecido da pilha sem removê-lo.

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

Sintaxe

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

Parâmetros

  • nth
    Um int que indica o índice do elemento para recuperar.

Valor de retorno

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

O elemento no índice especificado.

Consulte também

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

Retornar ao topo