Share via


Add Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Inserts a new header into the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Add(String) Inserts the specified header into the collection.
Public method Add(String, String) Inserts a header with the specified name and value into the collection.

Top

See Also

Reference

WebHeaderCollection Class

System.Net Namespace