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 MediaTypeHeaderValue that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
public MediaTypeHeaderValue MediaType {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
private set;
}
public:
property MediaTypeHeaderValue^ MediaType {
[CompilerGeneratedAttribute]
MediaTypeHeaderValue^ get();
[CompilerGeneratedAttribute]
private: void set(MediaTypeHeaderValue^ value);
}
member MediaType : MediaTypeHeaderValue with get, private set
Public Property MediaType As MediaTypeHeaderValue
Get
Private Set
End Property
Property Value
Type: System.Net.Http.Headers.MediaTypeHeaderValue
See Also
MediaTypeMapping Class
System.Net.Http.Formatting Namespace
Return to top