HttpPostedFileBase.ContentType 属性     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中重写时,获取已上载文件的 MIME 内容类型。
public:
 virtual property System::String ^ ContentType { System::String ^ get(); };public virtual string ContentType { get; }member this.ContentType : stringPublic Overridable ReadOnly Property ContentType As String属性值
文件的 MIME 内容类型。