set_Accept()

HttpWebRequest::set_Accept(String) method

Sets the ‘Accept’ HTTP header value.

void System::Net::HttpWebRequest::set_Accept(String value)

Arguments

ParameterTypeDescription
valueStringThe value that must be set.

See Also