ODataRawValueMediaTypeMapping Constructor
Initializes a new instance of the ODataRawValueMediaTypeMapping class.
Namespace: System.Web.Http.OData.Formatter
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Protected Sub New ( _
mediaType As String _
)
'Usage
Dim mediaType As String
Dim instance As New ODataRawValueMediaTypeMapping(mediaType)
protected ODataRawValueMediaTypeMapping(
string mediaType
)
protected:
ODataRawValueMediaTypeMapping(
String^ mediaType
)
new :
mediaType:string -> ODataRawValueMediaTypeMapping
protected function ODataRawValueMediaTypeMapping(
mediaType : String
)
Parameters
- mediaType
Type: System.String
The media type.