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))
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: IEnumerator<KeyValuePair<String, Object>>
An IEnumerator that can be used to iterate through the LoadTestContext.

Implements

IEnumerable.GetEnumerator

.NET Framework Security

See Also

Reference

LoadTestContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace