Share via


IODataRequestMessage.GetHeader(String) Method

Definition

Returns a value of an HTTP header.

public string GetHeader (string headerName);
abstract member GetHeader : string -> string
Public Function GetHeader (headerName As String) As String

Parameters

headerName
String

The name of the header to get.

Returns

The value of the HTTP header, or null if no such header was present on the message.

Applies to