Gets and sets the value of the Content-Type header.
[Visual Basic] Overridable Public Property ContentType As String [C#] public string ContentType {override get; override set;} [C++] public: __property virtual String* get_ContentType(); public: __property virtual void set_ContentType(String*); [JScript] public function get ContentType() : String; public function set ContentType(String);
HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace