IFormFileCollection.GetFile(String) メソッド

定義

指定した名前の最初のファイルを取得します。

public:
 Microsoft::AspNetCore::Http::IFormFile ^ GetFile(System::String ^ name);
public Microsoft.AspNetCore.Http.IFormFile GetFile (string name);
public Microsoft.AspNetCore.Http.IFormFile? GetFile (string name);
abstract member GetFile : string -> Microsoft.AspNetCore.Http.IFormFile
Public Function GetFile (name As String) As IFormFile

パラメーター

name
String

取得するファイルの名前。

戻り値

要求されたファイル。存在しない場合は null。

適用対象