Clear Method
Collapse the table of content
Expand the table of content

HttpHeaders.Clear Method ()

.NET Framework (current version)

Removes all headers from the HttpHeaders collection.

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

public void Clear()

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
© 2016 Microsoft