Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​Net.​Http.​Headers.​HttpHeadersNonValidated
Assembly: System.Net.Http
Implemented Interfaces
- Collections.​Generic.​IReadOnlyDictionary`2 (Inherits: IEnumerable<​KeyValuePair<​string, Net.​Http.​Headers.​HeaderStringValues>>IEnumerableIReadOnlyCollection<​KeyValuePair<​string, Net.​Http.​Headers.​HeaderStringValues>>)
Provides a view on top of a <see cref="T:System.Net.Http.Headers.HttpHeaders" /> collection that avoids forcing validation or parsing on its contents.
Properties
public
int
Count
Gets the number of headers stored in the collection.
public
HeaderStringValues
Item
Methods
public
bool
Contains​(string headerName)
Gets whether the collection contains the specified header.
Returns <see langword="true" /> if the collection contains the header; otherwise, <see langword="false" /> .
headerName
The name of the header.
public
Enumerator
GetEnumerator​()
Gets an enumerator that iterates through the <see cref="T:System.Net.Http.Headers.HttpHeadersNonValidated" /> .
Returns An enumerator that iterates through the <see cref="T:System.Net.Http.Headers.HttpHeadersNonValidated" /> .
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object