Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MediaTypeMapping Constructor (String)

Initializes a new instance of a MediaTypeMapping with the given mediaType value.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
'Declaration
Protected Sub New ( _
	mediaType As String _
)
'Usage
Dim mediaType As String

Dim instance As New MediaTypeMapping(mediaType)

Parameters

mediaType
Type: System.String
The String that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.