HttpPostedFileBase.ContentType Property

Definition

When overridden in a derived class, gets the MIME content type of an uploaded file.

public:
 virtual property System::String ^ ContentType { System::String ^ get(); };
public virtual string ContentType { get; }
member this.ContentType : string
Public Overridable ReadOnly Property ContentType As String

Property Value

The MIME content type of the file.

Exceptions

Applies to