Visual Basic (Declaration) | |
---|---|
Public Sub SetHeader( _ ByVal headerName As String, _ ByVal headerValue As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As HTTPClientRequestMessage Dim headerName As String Dim headerValue As String instance.SetHeader(headerName, headerValue) |
C# | |
---|---|
public void SetHeader( string headerName, string headerValue ) |
Managed Extensions for C++ | |
---|---|
public: void SetHeader( string* headerName, string* headerValue ) |
C++/CLI | |
---|---|
public: void SetHeader( String^ headerName, String^ headerValue ) |
Parameters
- headerName
- headerValue
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family