Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Microsoft.​AspNetCore.​Http.​IFormFileCollection
Assembly: Microsoft.AspNetCore.Http.Features
Implemented Interfaces
- System.​Collections.​Generic.​IReadOnlyList`1 (Inherits: IEnumerable<​Microsoft.​AspNetCore.​Http.​IFormFile>IEnumerableIReadOnlyCollection<​Microsoft.​AspNetCore.​Http.​IFormFile>)
Represents the collection of files sent with the HttpRequest.
Properties
Item
Methods
Returns The requested file, or null if it is not present.
name
The name of the file to get.
System.​Collections.​Generic.​IReadOnlyList<​IFormFile>
GetFiles​(string name)
Gets an <see cref="T:System.Collections.Generic.IReadOnlyList`1" /> containing the files of the
<see cref="T:Microsoft.AspNetCore.Http.IFormFileCollection" /> with the specified name.
Returns An <see cref="T:System.Collections.Generic.IReadOnlyList`1" /> containing the files of the object
that implements <see cref="T:Microsoft.AspNetCore.Http.IFormFileCollection" /> .
name
The name of the files to get.