Dela via


IFormFileCollection.Item[String] Property

Definition

Gets the first file with the specified name.

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

Parameters

name
String

The name of the file to get.

Property Value

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

Applies to