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 default media type for HTML form-URL-encoded data, which is application/x-www-form-urlencoded.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Shared ReadOnly Property DefaultMediaType As MediaTypeHeaderValue
Get
'Usage
Dim value As MediaTypeHeaderValue
value = FormUrlEncodedMediaTypeFormatter.DefaultMediaType
public static MediaTypeHeaderValue DefaultMediaType { get; }
public:
static property MediaTypeHeaderValue^ DefaultMediaType {
MediaTypeHeaderValue^ get ();
}
static member DefaultMediaType : MediaTypeHeaderValue
static function get DefaultMediaType () : MediaTypeHeaderValue
Property Value
Type: MediaTypeHeaderValue
The default media type for HTML form-URL-encoded data