System::Net::Http::Headers::HttpContentHeaders::set_ContentType method

HttpContentHeaders::set_ContentType method

Sets a value of the ‘Content-Type’ header.

void System::Net::Http::Headers::HttpContentHeaders::set_ContentType(System::SharedPtr<MediaTypeHeaderValue> value)
ParameterTypeDescription
valueSystem::SharedPtr<MediaTypeHeaderValue>The value that will be set.

See Also