FormFileCollection.Item[String] 屬性

定義

取得具有指定名稱的第一個檔案。

public:
 property Microsoft::AspNetCore::Http::IFormFile ^ default[System::String ^] { Microsoft::AspNetCore::Http::IFormFile ^ get(System::String ^ name); };
public Microsoft.AspNetCore.Http.IFormFile this[string name] { get; }
public Microsoft.AspNetCore.Http.IFormFile? this[string name] { get; }
member this.Item(string) : Microsoft.AspNetCore.Http.IFormFile
Default Public ReadOnly Property Item(name As String) As IFormFile

參數

name
String

要取得的檔案名。

屬性值

要求的檔案,如果不存在,則為 null。

實作

適用於