| |||||||||||
Response.ContentType PropertySystem.Web Namespace HttpResponse Class Sets or retrieves the HTTP MIME type of the output stream. [ VB ] Public Property ContentType As String [ C# ] public string ContentType {get; set;} [ C++ ] public: __property String* get_ContentType ( ); public: __property void set_ContentType ( String* ); [ JScript ] public function get ContentType ( ) : String; public function set ContentType ( String ); Property ValueThe HTTP MIME type of the output stream. The default value is " text/html ". Exceptions
RemarksThe following example takes action if the content type of the output is not "Text/HTML".
See Also |
| ||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme