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

Represents the collection of files sent with the HttpRequest.

Properties

Item

Methods

GetFile​(string name)
Gets the first file with the specified name.
Returns The requested file, or null if it is not present.
name The name of the file to get.
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.