Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Set Method

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 Supported by the .NET Compact Framework Set(String, String) Sets the specified header to the specified value. (Overrides NameValueCollection.Set(String, String).)
Top

Community Additions

ADD
Show:
© 2015 Microsoft