set_ContentType()

HttpWebRequest::set_ContentType(String) method

Sets the MIME type of the request.

void System::Net::HttpWebRequest::set_ContentType(String value) override

Arguments

ParameterTypeDescription
valueStringThe MIME type to set.

See Also