HttpWebRequestMessage.GetHeader Method
Returns the value of the header with the given name.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Function GetHeader ( _
headerName As String _
) As String
'Usage
Dim instance As HttpWebRequestMessage
Dim headerName As String
Dim returnValue As String
returnValue = instance.GetHeader(headerName)
public string GetHeader(
string headerName
)
public:
virtual String^ GetHeader(
String^ headerName
) sealed
abstract GetHeader :
headerName:string -> string
override GetHeader :
headerName:string -> string
public final function GetHeader(
headerName : String
) : String
Parameters
- headerName
Type: System.String
Name of the header.
Return Value
Type: System.String
Returns the value of the header with the given name.
Implements
IODataRequestMessage.GetHeader(String)