Dela via


IFormFileCollection.GetFiles(String) Method

Definition

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

public:
 System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Http::IFormFile ^> ^ GetFiles(System::String ^ name);
public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.IFormFile> GetFiles (string name);
abstract member GetFiles : string -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.IFormFile>
Public Function GetFiles (name As String) As IReadOnlyList(Of IFormFile)

Parameters

name
String

The name of the files to get.

Returns

An IReadOnlyList<T> containing the files of the object that implements IFormFileCollection.

Applies to