InputFileChangeEventArgs.GetMultipleFiles(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.