HttpContentHeaders.ContentType Property
Gets or sets {insert text here}.
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Property ContentType As MediaTypeHeaderValue
Get
Set
'Usage
Dim instance As HttpContentHeaders
Dim value As MediaTypeHeaderValue
value = instance.ContentType
instance.ContentType = value
public MediaTypeHeaderValue ContentType { get; set; }
public:
property MediaTypeHeaderValue^ ContentType {
MediaTypeHeaderValue^ get ();
void set (MediaTypeHeaderValue^ value);
}
member ContentType : MediaTypeHeaderValue with get, set
function get ContentType () : MediaTypeHeaderValue
function set ContentType (value : MediaTypeHeaderValue)
Property Value
Type: System.Net.Http.Headers.MediaTypeHeaderValue