FormFileCollection.GetFiles(String) 方法

定義

取得 , IReadOnlyList<T> 其中包含具有指定名稱之 的 IFormFileCollection 檔案。

public:
 virtual 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>
override this.GetFiles : string -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.IFormFile>
Public Function GetFiles (name As String) As IReadOnlyList(Of IFormFile)

參數

name
String

要取得的檔案名。

傳回

IReadOnlyList<T> 包含實作 IFormFileCollection 之 物件的檔案。

實作

適用於