set_ContentType()

WebRequest::set_ContentType(String) method

Sets the MIME type of the request.

virtual void System::Net::WebRequest::set_ContentType(String value)=0

Arguments

ParameterTypeDescription
valueStringThe MIME type to set.

See Also