HttpResponseWrapper.ContentType Tulajdonság

Definíció

Lekéri vagy beállítja az aktuális válasz HTTP MIME-típusát.

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

Tulajdonság értéke

Az aktuális válasz HTTP MIME-típusa. Az alapértelmezett érték a "text/html".

Kivételek

A ContentType tulajdonság be van állítva null-re.

A következőre érvényes: