Partager via


HttpHeaders.GetEnumerator Method

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

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

returnValue = instance.GetEnumerator()
public IEnumerator<KeyValuePair<string, IEnumerable<string>>> GetEnumerator()
public:
virtual IEnumerator<KeyValuePair<String^, IEnumerable<String^>^>>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<KeyValuePair<string, IEnumerable<string>>> 
override GetEnumerator : unit -> IEnumerator<KeyValuePair<string, IEnumerable<string>>> 
public final function GetEnumerator() : IEnumerator<KeyValuePair<String, IEnumerable<String>>>

Return Value

Type: System.Collections.Generic.IEnumerator<KeyValuePair<String, IEnumerable<String>>>
Returns <see cref="T:System.Collections.Generic.IEnumerator`1" />.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

HttpHeaders Class

System.Net.Http.Headers Namespace