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 Overrides 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 override string GetHeader(
string headerName
)
public:
virtual String^ GetHeader(
String^ headerName
) override
abstract GetHeader :
headerName:string -> string
override GetHeader :
headerName:string -> string
public override 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)