HttpContentHeaders.ContentType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value of the Content-Type
content header on an HTTP response.
public:
property System::Net::Http::Headers::MediaTypeHeaderValue ^ ContentType { System::Net::Http::Headers::MediaTypeHeaderValue ^ get(); void set(System::Net::Http::Headers::MediaTypeHeaderValue ^ value); };
public System.Net.Http.Headers.MediaTypeHeaderValue ContentType { get; set; }
public System.Net.Http.Headers.MediaTypeHeaderValue? ContentType { get; set; }
member this.ContentType : System.Net.Http.Headers.MediaTypeHeaderValue with get, set
Public Property ContentType As MediaTypeHeaderValue
Property Value
The value of the Content-Type
content header on an HTTP response.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.