HttpRequest.ContentType Property

Definition

Gets or sets the Content-Type 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

The Content-Type header.

Applies to