FormFile(Stream, Int64, Int64, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of FormFile.
public:
FormFile(System::IO::Stream ^ baseStream, long baseStreamOffset, long length, System::String ^ name, System::String ^ fileName);
public FormFile (System.IO.Stream baseStream, long baseStreamOffset, long length, string name, string fileName);
new Microsoft.AspNetCore.Http.FormFile : System.IO.Stream * int64 * int64 * string * string -> Microsoft.AspNetCore.Http.FormFile
Public Sub New (baseStream As Stream, baseStreamOffset As Long, length As Long, name As String, fileName As String)
Parameters
- baseStreamOffset
- Int64
The offset at which the form file begins.
- length
- Int64
The length of the form file.
- name
- String
The name of the form file from the Content-Disposition
header.
- fileName
- String
The file name from the Content-Disposition
header.