HttpResponseWrapper.ContentType Eigenschap

Definitie

Hiermee haalt u het HTTP MIME-type van het huidige antwoord op of stelt u dit in.

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

Waarde van eigenschap

Het HTTP MIME-type van het huidige antwoord. De standaardwaarde is 'text/html'.

Uitzonderingen

De eigenschap ContentType is ingesteld op null.

Van toepassing op