FormFile(Stream, Int64, Int64, String, String) 建構函式

定義

初始化 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)

參數

baseStream
Stream

包含 Stream 表單檔案的 。

baseStreamOffset
Int64

表單檔案開始的位移。

length
Int64

表單檔案的長度。

name
String

標頭中表單檔 Content-Disposition 的名稱。

fileName
String

標頭中的 Content-Disposition 檔案名。

適用於