This documentation is archived and is not being maintained.

WebHeaderCollection.Set Method

Sets the specified header to the specified value.

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

  NameDescription
Public method Set(HttpRequestHeader, String) Sets the specified header to the specified value.
Public method Set(HttpResponseHeader, String) Sets the specified header to the specified value.
Public method Set(String, String) Sets the specified header to the specified value. (Overrides NameValueCollection.Set(String, String).)
Top
Show: