Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets 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 Sub SetHeader ( _
headerName As String, _
headerValue As String _
)
'Usage
Dim instance As HttpWebRequestMessage
Dim headerName As String
Dim headerValue As String
instance.SetHeader(headerName, headerValue)
public void SetHeader(
string headerName,
string headerValue
)
public:
virtual void SetHeader(
String^ headerName,
String^ headerValue
) sealed
abstract SetHeader :
headerName:string *
headerValue:string -> unit
override SetHeader :
headerName:string *
headerValue:string -> unit
public final function SetHeader(
headerName : String,
headerValue : String
)
Parameters
- headerName
Type: System.String
Name of the header.
- headerValue
Type: System.String
Value of the header.
Implements
IODataRequestMessage.SetHeader(String, String)