HttpResponseWrapper.ContentType Właściwość

Definicja

Pobiera lub ustawia typ PROTOKOŁU HTTP MIME bieżącej odpowiedzi.

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

Wartość właściwości

Typ PROTOKOŁU MIME HTTP bieżącej odpowiedzi. Wartość domyślna to "text/html".

Wyjątki

Właściwość ContentType ma ustawioną wartość null.

Dotyczy