Share via


ODataBatchOperationRequestMessage.GetHeader Method

Returns a value of an HTTP header of this operation.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Function GetHeader ( _
    headerName As String _
) As String
'Usage
Dim instance As ODataBatchOperationRequestMessage 
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

Return Value

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

Implements

IODataRequestMessage.GetHeader(String)

See Also

Reference

ODataBatchOperationRequestMessage Class

Microsoft.Data.OData Namespace