Headers.GetHeaderValue<T>(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.