Share via


FormFile(Stream, Int64, Int64, String, String) Constructor

Definition

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

baseStream
Stream

The Stream containing the form file.

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.

Applies to