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

Return Value

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

See Also

Reference

IODataRequestMessage Interface

Microsoft.Data.OData Namespace