InputFileChangeEventArgs.GetMultipleFiles(Int32) Method

Definition

Gets the file entries list. This method should be used for inputs that accept multiple files. If the input accepts only a single file, then use the File property instead.

public System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.Forms.IBrowserFile> GetMultipleFiles (int maximumFileCount = 10);
member this.GetMultipleFiles : int -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Components.Forms.IBrowserFile>
Public Function GetMultipleFiles (Optional maximumFileCount As Integer = 10) As IReadOnlyList(Of IBrowserFile)

Parameters

maximumFileCount
Int32

The maximum number of files to accept. If the number of files exceeds this value, this method will throw an exception.

Returns

Applies to