FormCollection Constructor

Definition

Initializes a new instance of FormCollection.

public FormCollection (System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues> fields, Microsoft.AspNetCore.Http.IFormFileCollection files = default);
public FormCollection (System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues>? fields, Microsoft.AspNetCore.Http.IFormFileCollection? files = default);
new Microsoft.AspNetCore.Http.FormCollection : System.Collections.Generic.Dictionary<string, Microsoft.Extensions.Primitives.StringValues> * Microsoft.AspNetCore.Http.IFormFileCollection -> Microsoft.AspNetCore.Http.FormCollection
Public Sub New (fields As Dictionary(Of String, StringValues), Optional files As IFormFileCollection = Nothing)

Parameters

fields
Dictionary<String,StringValues>

The backing fields.

files
IFormFileCollection

The files associated with the form.

Applies to