Share via


LoadTestContext.GetEnumerator Method

Returns an enumerator that iterates through the LoadTestContext.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of KeyValuePair(Of String, Object))
'Usage
Dim instance As LoadTestContext 
Dim returnValue As IEnumerator(Of KeyValuePair(Of String, Object))

returnValue = instance.GetEnumerator()
public IEnumerator<KeyValuePair<string, Object>> GetEnumerator()
public:
virtual IEnumerator<KeyValuePair<String^, Object^>>^ GetEnumerator() sealed
public final function GetEnumerator() : IEnumerator<KeyValuePair<String, Object>>

Return Value

Type: System.Collections.Generic.IEnumerator<KeyValuePair<String, Object>>
A IEnumerator<T> that can be used to iterate through the LoadTestContext.

Implements

IEnumerable<T>.GetEnumerator()

.NET Framework Security

See Also

Reference

LoadTestContext Class

LoadTestContext Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace