HttpWebResponseMessage.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 Overridable Function GetHeader ( _
    headerName As String _
) As String
'Usage
Dim instance As HttpWebResponseMessage 
Dim headerName As String 
Dim returnValue As String 

returnValue = instance.GetHeader(headerName)
public virtual string GetHeader(
    string headerName
)
public:
virtual String^ GetHeader(
    String^ headerName
)
abstract GetHeader : 
        headerName:string -> string  
override GetHeader : 
        headerName:string -> string
public function GetHeader(
    headerName : String
) : String

Parameters

Return Value

Type: System.String
Returns the value of the header with the given name.

Implements

IODataResponseMessage.GetHeader(String)

See Also

Reference

HttpWebResponseMessage Class

System.Data.Services.Client Namespace