Share via


DownloadOperation.RemoveRequestHeader(String) Method

Definition

Used to remove an HTTP request header.

public:
 virtual void RemoveRequestHeader(Platform::String ^ headerName) = RemoveRequestHeader;
void RemoveRequestHeader(winrt::hstring const& headerName);
public void RemoveRequestHeader(string headerName);
function removeRequestHeader(headerName)
Public Sub RemoveRequestHeader (headerName As String)

Parameters

headerName
String

Platform::String

winrt::hstring

The header name.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Applies to