set_Content()

HttpResponseMessage::set_Content(System::SharedPtr<HttpContent>) method

Sets content of the HTTP response.

void System::Net::Http::HttpResponseMessage::set_Content(System::SharedPtr<HttpContent> value)

Arguments

ParameterTypeDescription
valueSystem::SharedPtr<HttpContent>The value that will be set.

See Also