DownloadOperation.RemoveRequestHeader(String) 方法

定义

用于删除 HTTP 请求标头。

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)

参数

headerName
String

Platform::String

winrt::hstring

标头名称。

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v10.0 中引入)

适用于