IODataRequestMessage.GetHeader Method
Returns a value of an HTTP header.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Function GetHeader ( _
headerName As String _
) As String
'Usage
Dim instance As IODataRequestMessage
Dim headerName As String
Dim returnValue As String
returnValue = instance.GetHeader(headerName)
string GetHeader(
string headerName
)
String^ GetHeader(
String^ headerName
)
abstract GetHeader :
headerName:string -> string
function GetHeader(
headerName : String
) : String
Parameters
- headerName
Type: System.String
The name of the header to get.
Return Value
Type: System.String
The value of the HTTP header, or null if no such header was present on the message.