Skip to main content
HttpResponseHeaderCollection.Remove | remove method

Removes an item with a given key from the HttpResponseHeaderCollection.

Syntax


httpResponseHeaderCollection.remove(key);

public void Remove(
  string key
)

Public Sub Remove(
  key As String 
)

public:
void Remove(
  String^ key
)

Parameters

key

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

Key of the item to be removed.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

See also

HttpResponseHeaderCollection