Share via


OwinRequest.MediaType Property

The Media-Type header

Namespace:  Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public Overridable Property MediaType As String 
    Get 
    Set
'Usage
Dim instance As OwinRequest 
Dim value As String 

value = instance.MediaType

instance.MediaType = value
public virtual string MediaType { get; set; }
public:
virtual property String^ MediaType {
    String^ get ();
    void set (String^ value);
}
abstract MediaType : string with get, set 
override MediaType : string with get, set
function get MediaType () : String 
function set MediaType (value : String)

Property Value

Type: System.String

Implements

IOwinRequest.MediaType

See Also

Reference

OwinRequest Class

Microsoft.Owin Namespace