Прочетете на английски

Споделяне чрез


IFormFileCollection Interface

Definition

Represents the collection of files sent with the HttpRequest.

C#
public interface 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>
Derived
Implements

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

Продукт Версии
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0