FormFile Class
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.
Default implementation of IFormFile.
public ref class FormFile : Microsoft::AspNetCore::Http::IFormFile
public class FormFile : Microsoft.AspNetCore.Http.IFormFile
type FormFile = class
interface IFormFile
Public Class FormFile
Implements IFormFile
- Inheritance
-
FormFile
- Implements
Constructors
FormFile(Stream, Int64, Int64, String, String) |
Initializes a new instance of FormFile. |
Properties
ContentDisposition |
Gets the raw Content-Disposition header of the uploaded file. |
ContentType |
Gets the raw Content-Type header of the uploaded file. |
FileName |
Gets the file name from the Content-Disposition header. |
Headers |
Gets the header dictionary of the uploaded file. |
Length |
Gets the file length in bytes. |
Name |
Gets the name from the Content-Disposition header. |
Methods
CopyTo(Stream) |
Copies the contents of the uploaded file to the |
CopyToAsync(Stream, CancellationToken) |
Asynchronously copies the contents of the uploaded file to the |
OpenReadStream() |
Opens the request stream for reading the uploaded file. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor