Aracılığıyla paylaş


HttpResponseWrapper.ContentType Özellik

Tanım

Geçerli yanıtın HTTP MIME türünü alır veya ayarlar.

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

Özellik Değeri

String

Geçerli yanıtın HTTP MIME türü. Varsayılan değer "text/html"dir.

Özel durumlar

ContentType özelliği null olarak ayarlanmıştır.

Şunlara uygulanır