IFormFileCollection Interface

Represents the collection of files sent with the HttpRequest.

Namespace
Microsoft.AspNetCore.Http
Assemblies
  • Microsoft.AspNetCore.Http.Features

Syntax

public interface IFormFileCollection : IReadOnlyList<IFormFile>, IReadOnlyCollection<IFormFile>, IEnumerable<IFormFile>, IEnumerable
interface Microsoft.AspNetCore.Http.IFormFileCollection

Methods

GetFile(System.String)
Return type:Microsoft.AspNetCore.Http.IFormFile
IFormFile GetFile(string name)
GetFiles(System.String)
Return type:System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.IFormFile>
IReadOnlyList<IFormFile> GetFiles(string name)

Properties

Microsoft.AspNetCore.Http.IFormFileCollection.Item[System.String]
Return type:Microsoft.AspNetCore.Http.IFormFile
IFormFile this[string name] { get; }