set_ContentType()

FileWebRequest::set_ContentType(String) method

Sets the MIME type of the request.

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

Arguments

ParameterTypeDescription
valueStringThe MIME type to set.

See Also