Mono Class Library: System.Net.WebRequest Overview | MembersSystem.Net.WebRequest.ContentType Property |
Gets or sets the content type of the request data being sent. [Edit]
|
A string that represents the content type of the request data. [Edit]
Type Reason NotSupportedException This property is not implemented in the derived class. [Edit]
The WebRequest.ContentType property contains the media type of the request.
Note: This is typically the MIME encoding of the content.Operation
As described above.This property throws NotSupportedException.
Note to Inheritors
This property is required to be overridden by classes that inherit from System.Net.WebRequest.Usage
Use this property to get the media type of request. [Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0