Share via


FormFile(Stream, Int64, Int64, String, String) Konstruktor

Definice

Inicializuje novou instanci objektu 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)

Parametry

baseStream
Stream

Obsahující Stream soubor formuláře.

baseStreamOffset
Int64

Posun, kterým soubor formuláře začíná.

length
Int64

Délka souboru formuláře.

name
String

Název souboru formuláře z hlavičky Content-Disposition .

fileName
String

Název souboru z hlavičky Content-Disposition .

Platí pro