共用方式為


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 引進)

適用於