[This is preliminary documentation and is subject to change.]

Constants for common hypermedia content types

Inheritance Hierarchy

System.ObjectSystem.ObjectSystem::Object
  Simple.Web.MediaTypeHandling.MediaTypeSimple.Web.MediaTypeHandling.MediaTypeSimple::Web::MediaTypeHandling::MediaType

Namespace: Simple.Web.MediaTypeHandlingSimple.Web.MediaTypeHandlingSimple::Web::MediaTypeHandling
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static class MediaType

VB

Public Class MediaType

C++

public ref class MediaType abstract sealed

The MediaTypeMediaTypeMediaType type exposes the following members.

Constants

Name Description
HtmlHtmlHtml text/html
JsonJsonJson application/json
XHtmlXHtmlXHtml application/xhtml+xml
XmlXmlXml application/xml
Top

See Also

Simple.Web.MediaTypeHandlingSimple.Web.MediaTypeHandlingSimple::Web::MediaTypeHandling Namespace