set_Headers()

HttpWebRequest::set_Headers(System::SharedPtr<WebHeaderCollection>) method

Sets the collection of the HTTP headers.

void System::Net::HttpWebRequest::set_Headers(System::SharedPtr<WebHeaderCollection> value) override

Arguments

ParameterTypeDescription
valueSystem::SharedPtr<WebHeaderCollection>The collection of the HTTP headers to set.

See Also