Прочетете на английски Редактиране

Споделяне чрез


HttpHeadersNonValidated.Item[String] Property

Definition

Gets the values for the specified header name.

C#
public System.Net.Http.Headers.HeaderStringValues this[string headerName] { get; }

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

Продукт Версии
.NET 6, 7, 8, 9, 10