Bewerken

Delen via


HttpHeadersNonValidated.Item[String] Property

Definition

Gets the values for the specified header name.

public:
 property System::Net::Http::Headers::HeaderStringValues default[System::String ^] { System::Net::Http::Headers::HeaderStringValues get(System::String ^ headerName); };
public System.Net.Http.Headers.HeaderStringValues this[string headerName] { get; }
member this.Item(string) : System.Net.Http.Headers.HeaderStringValues
Default Public ReadOnly Property Item(headerName As String) As HeaderStringValues

Parameters

headerName
String

The name of the header.

Property Value

The values for the specified header.

Implements

Exceptions

The header was not contained in the collection.

Applies to