HttpResponseWrapper.ContentType Properti

Definisi

Mendapatkan atau mengatur jenis HTTP MIME dari respons saat ini.

public:
 virtual property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
public override string ContentType { get; set; }
member this.ContentType : string with get, set
Public Overrides Property ContentType As String

Nilai Properti

Jenis HTTP MIME dari respons saat ini. Nilai defaultnya adalah "text/html".

Pengecualian

Properti ContentType disetel ke null.

Berlaku untuk