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.
Gets the value for the Content-Type header, or null to have the formatter pick a default value.
Namespace: System.Web.Http.Results
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public MediaTypeHeaderValue MediaType { get; }
public:
property MediaTypeHeaderValue^ MediaType {
MediaTypeHeaderValue^ get();
}
member MediaType : MediaTypeHeaderValue with get
Public ReadOnly Property MediaType As MediaTypeHeaderValue
Property Value
Type: System.Net.Http.Headers.MediaTypeHeaderValue
See Also
FormattedContentResult<T> Class
System.Web.Http.Results Namespace
Return to top