Share via


HttpWebResponseMessage.GetHeader(String) Method

Definition

Returns the value of the header with the given name.

public virtual string GetHeader (string headerName);
abstract member GetHeader : string -> string
override this.GetHeader : string -> string
Public Overridable Function GetHeader (headerName As String) As String

Parameters

headerName
String

Name of the header.

Returns

Returns the value of the header with the given name.

Implements

Applies to