편집

다음을 통해 공유


HttpResponseWrapper.ContentType Property

Definition

Gets or sets the HTTP MIME type of the current response.

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

Property Value

The HTTP MIME type of the current response. The default value is "text/html".

Exceptions

The ContentType property is set to null.

Applies to