Table of Contents

Class CoreWebView2HttpHeadersCollectionIterator

Namespace
Microsoft.Web.WebView2.Core
Assembly
Microsoft.Web.WebView2.Core.dll

Iterator for a collection of HTTP headers.

public class CoreWebView2HttpHeadersCollectionIterator : IEnumerator<KeyValuePair<string, string>>, IDisposable, IEnumerator
Inheritance
CoreWebView2HttpHeadersCollectionIterator
Implements
Inherited Members

Properties

Current

Gets the header in the CoreWebView2HttpRequestHeaders or CoreWebView2HttpResponseHeaders collection at the current position of the enumerator.

public KeyValuePair<string, string> Current { get; }

Property Value

KeyValuePair<string, string>

Exceptions

InvalidOperationException
See Also

HasCurrentHeader

true when the iterator has not run out of headers.

public bool HasCurrentHeader { get; }

Property Value

bool

Remarks

If the collection over which the iterator is iterating is empty or if the iterator has gone past the end of the collection then this is false.

See Also

Methods

Dispose()

public void Dispose()
See Also

MoveNext()

public bool MoveNext()

Returns

bool
See Also

Reset()

No COM support; throws NotSupportedException instead.

public void Reset()

Exceptions

NotSupportedException

No COM support.

See Also

See Also