IFormFileCollection.GetFile(String) IFormFileCollection.GetFile(String) IFormFileCollection.GetFile(String) Method

Definition

Gets the first file with the specified 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

Parameters

name
String String String

The name of the file to get.

Returns

The requested file, or null if it is not present.

Applies to