Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 798 Bytes

httprequestheadercollection_insert_2006825190.md

File metadata and controls

30 lines (21 loc) · 798 Bytes
-api-id -api-type
M:Windows.Web.Http.Headers.HttpRequestHeaderCollection.Insert(System.String,System.String)
winrt method

Windows.Web.Http.Headers.HttpRequestHeaderCollection.Insert

-description

Inserts or replaces an item in the HttpRequestHeaderCollection with the specified key and value.

-parameters

-param key

The key of the item to be inserted.

-param value

The value of the item to insert.

-returns

true if an item with the specified key is an existing item that was replaced; otherwise false.

-remarks

When programming with .NET, this method is hidden and developers should use the Add methods.

-examples

-see-also