. Netframework-web.mvc:fileresult

Source: Internet
Author: User

Ylbtech-.netframework-web.mvc:fileresult

1. Assembly SYSTEM.WEB.MVC, version=5.2.3.0, culture=neutral, publickeytoken=31bf3856ad364e35 back to top
1.
#regionAssembly SYSTEM.WEB.MVC, version=5.2.3.0, Culture=neutral, publickeytoken=31bf3856ad364e35//c:\users\administrator\source\repos\WebApp7\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\ System.Web.Mvc.dll#endregionnamespacesystem.web.mvc{//    //Summary://represents a base class that is used to send the contents of a binary file to a response.      Public Abstract classFileresult:actionresult {//        //Summary://Initializes a new instance of the System.Web.Mvc.FileResult class. //        //Parameters://ContentType://the type of content. //        //Exception://T:System.ArgumentException://The contentType parameter is null or empty.         protectedFileresult (stringContentType); //        //Summary://Gets the content type used for the response. //        //return Result://the type of content.          Public stringContentType {Get; } //        //Summary://Gets or sets the content disposition header that contains the specified file name when the File Download dialog box is displayed in the browser. //        //return Result://file name.          Public stringFiledownloadname {Get;Set; } //        //Summary://enables processing of the result of an action method by using a custom type that inherits from the System.Web.Mvc.ActionResult class. //        //Parameters://Context://the context in which the result was executed. //        //Exception://T:System.ArgumentNullException://the context parameter is null.          Public Override voidExecuteresult (controllercontext context); //        //Summary://writes a file to a response. //        //Parameters://Response://Response.         protected Abstract voidWriteFile (httpresponsebase response); }}
2.
2. back to top
3. back to top
4. back to top
5. back to top
6. back to top
Ylbtech
Source: http://ylbtech.cnblogs.com/
This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.

. Netframework-web.mvc:fileresult

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.