Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The media type that is associated with the formatter chosen for serialization. Can be null.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Property MediaType As MediaTypeHeaderValue
Get
Set
'Usage
Dim instance As ContentNegotiationResult
Dim value As MediaTypeHeaderValue
value = instance.MediaType
instance.MediaType = value
public MediaTypeHeaderValue MediaType { get; set; }
public:
property MediaTypeHeaderValue^ MediaType {
MediaTypeHeaderValue^ get ();
void set (MediaTypeHeaderValue^ value);
}
member MediaType : MediaTypeHeaderValue with get, set
function get MediaType () : MediaTypeHeaderValue
function set MediaType (value : MediaTypeHeaderValue)
Property Value
Type: MediaTypeHeaderValue