HttpResponseWrapper.ContentType Propriété

Définition

Obtient ou définit le type MIME HTTP de la réponse actuelle.

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

Valeur de propriété

Type MIME HTTP de la réponse actuelle. La valeur par défaut est «text/html».

Exceptions

La propriété ContentType est définie sur null.

S’applique à