Web API Core | ComponentOne
Web API Core | ComponentOne
C1.Web.Api Namespace
/
C1ApiController Class
/ File Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: Visual Basic (Declaration)
Language Filter: C#
Visual Basic (Declaration)
C#
In This Topic
File Method (C1ApiController)
In This Topic
Returns a file in the specified fileStream with the file name and the file extension.
Overload List
Overload
Description
File(Func<Stream>,String)
Returns a file in the specified fileStream with the full file name.
File(Byte[],String)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Byte[],String,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Byte[],String,String)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Byte[],String,String,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Byte[],String,Nullable{DateTimeOffset},EntityTagHeaderValue)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Byte[],String,Nullable{DateTimeOffset},EntityTagHeaderValue,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Byte[],String,String,Nullable{DateTimeOffset},EntityTagHeaderValue)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Byte[],String,String,Nullable{DateTimeOffset},EntityTagHeaderValue,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Stream,String)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Stream,String,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Stream,String,String)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Stream,String,String,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Stream,String,Nullable{DateTimeOffset},EntityTagHeaderValue)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Stream,String,Nullable{DateTimeOffset},EntityTagHeaderValue,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Stream,String,String,Nullable{DateTimeOffset},EntityTagHeaderValue)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(Stream,String,String,Nullable{DateTimeOffset},EntityTagHeaderValue,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(String,String)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(String,String,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(String,String,String)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(String,String,String,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(String,String,Nullable{DateTimeOffset},EntityTagHeaderValue)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(String,String,Nullable{DateTimeOffset},EntityTagHeaderValue,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(String,String,String,Nullable{DateTimeOffset},EntityTagHeaderValue)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
File(String,String,String,Nullable{DateTimeOffset},EntityTagHeaderValue,Boolean)
(Inherited from
Microsoft.AspNetCore.Mvc.ControllerBase
)
See Also
Reference
C1ApiController Class
C1ApiController Members