WebTestContext.GetEnumerator Method

Returns an IEnumerator<T> that contains the WebTestContext elements.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of String, Object))
public IEnumerator<KeyValuePair<string, Object>> GetEnumerator()
public:
virtual IEnumerator<KeyValuePair<String^, Object^>>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<KeyValuePair<string, Object>> 
override GetEnumerator : unit -> IEnumerator<KeyValuePair<string, Object>> 
public final function GetEnumerator() : IEnumerator<KeyValuePair<String, Object>>

Return Value

Type: System.Collections.Generic.IEnumerator<KeyValuePair<String, Object>>
An IEnumerator<T> object.

Implements

IEnumerable<T>.GetEnumerator()

.NET Framework Security

See Also

Reference

WebTestContext Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace