ODataPrimitiveValueMediaTypeMapping Class

 

Media type mapping that associates requests for the raw value of non-binary primitive properties to the text/plain content type.

Namespace:   System.Web.Http.OData.Formatter
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

System::Object
  System.Net.Http.Formatting::MediaTypeMapping
    System.Web.Http.OData.Formatter::ODataRawValueMediaTypeMapping
      System.Web.Http.OData.Formatter::ODataPrimitiveValueMediaTypeMapping

public ref class ODataPrimitiveValueMediaTypeMapping : ODataRawValueMediaTypeMapping

NameDescription
System_CAPS_pubmethodODataPrimitiveValueMediaTypeMapping()

Initializes a new instance of the ODataPrimitiveValueMediaTypeMapping class.

NameDescription
System_CAPS_pubpropertyMediaType

Gets the MediaTypeHeaderValue that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping. (Inherited from MediaTypeMapping.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: