set_Headers()

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

Sets the collection of the HTTP headers.

virtual void System::Net::WebRequest::set_Headers(System::SharedPtr<WebHeaderCollection> value)=0

Arguments

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

See Also