Share via


WebTestContext.IEnumerable.GetEnumerator Method

Returns an enumerator that iterates through a collection of WebTestContext elements.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator 
    Implements IEnumerable.GetEnumerator
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator  
private override GetEnumerator : unit -> IEnumerator
JScript does not support explicit interface implementations.

Return Value

Type: IEnumerator
An enumerator.

Implements

IEnumerable.GetEnumerator

Remarks

This member is an explicit interface member implementation. It can be used only when the WebTestContext instance is cast to an IEnumerable interface.

.NET Framework Security

See Also

Reference

WebTestContext Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace