IFormFileCollection.Item[String] Propriété

Définition

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

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

Paramètres

name
String

Nom du fichier à obtenir.

Valeur de propriété

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

S’applique à