FormFile(Stream, Int64, Int64, String, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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)
参数
- baseStreamOffset
- Int64
窗体文件开始的偏移量。
- length
- Int64
窗体文件的长度。
- name
- String
标头中的窗体文件 Content-Disposition
的名称。
- fileName
- String
标头中的 Content-Disposition
文件名。