Delen via


Headers.GetHeaderValue<T>(String) Method

Definition

Gets a header value with a particular type.

public virtual T GetHeaderValue<T> (string headerName);
abstract member GetHeaderValue : string -> 'T
override this.GetHeaderValue : string -> 'T
Public Overridable Function GetHeaderValue(Of T) (headerName As String) As T

Type Parameters

T

Type of the header value.

Parameters

headerName
String

Header name.

Returns

T

The header value parsed for a particular type.

Applies to