IUITestActionStack.Peek Method
Returns the topmost element 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
'Declaration
Function Peek As UITestAction
UITestAction Peek()
UITestAction^ Peek()
abstract Peek : unit -> UITestAction
function Peek() : UITestAction
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
The topmost element.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.