Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.04 KB

httprequestheadercollection_tryappendwithoutvalidation_2133193972.md

File metadata and controls

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

Windows.Web.Http.Headers.HttpRequestHeaderCollection.TryAppendWithoutValidation

-description

Try to append the specified item to the HttpRequestHeaderCollection without validation.

-parameters

-param name

The name of the item to append.

-param value

The value of the item to append.

-returns

true if the item was appended; otherwise false.

-remarks

The TryAppendWithoutValidation method is available when you need to work with an HTTP header on an HTTP request that doesn't have a strongly-typed class for the HTTP header. If there is a strongly-typed implementation of the HTTP header, then the methods and properties on the strongly-typed class should be used instead of the TryAppendWithoutValidation method.

-examples

-see-also