FormFileCollection Class

Definition

Default implementation of IFormFileCollection.

C#
public class FormFileCollection : System.Collections.Generic.List<Microsoft.AspNetCore.Http.IFormFile>, Microsoft.AspNetCore.Http.IFormFileCollection, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Http.IFormFile>, System.Collections.Generic.IReadOnlyCollection<Microsoft.AspNetCore.Http.IFormFile>, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.IFormFile>
Inheritance
FormFileCollection
Implements

Constructors

Properties

Item[String]

Gets the first file with the specified name.

Methods

GetFile(String)

Gets the first file with the specified name.

GetFiles(String)

Gets an IReadOnlyList<T> containing the files of the IFormFileCollection with the specified name.

Applies to

Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0