FormFileCollection.GetFile(String) Méthode

Définition

Obtient le premier fichier portant le nom spécifié.

public:
 virtual 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
override this.GetFile : string -> Microsoft.AspNetCore.Http.IFormFile
Public Function GetFile (name As String) As IFormFile

Paramètres

name
String

Nom du fichier à obtenir.

Retours

Fichier demandé ou null s’il n’est pas présent.

Implémente

S’applique à