IUITestActionStack.Peek 方法 (Int32)
傳回堆疊中位於提供的索引上的項目,而不加以移除。
命名空間: Microsoft.VisualStudio.TestTools.UITest.Common
組件: Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
語法
'宣告
Function Peek ( _
nth As Integer _
) As UITestAction
UITestAction Peek(
int nth
)
UITestAction^ Peek(
int nth
)
abstract Peek :
nth:int -> UITestAction
function Peek(
nth : int
) : UITestAction
參數
- nth
型別:System.Int32
int ,表示要擷取之項目的索引。
傳回值
型別:Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
在指定索引上的項目。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。