Share via


HttpResponse.ContentType Property

Definition

Gets or sets the value for the Content-Type response header.

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

Property Value

Applies to