Partager via


FormCollection Constructeur

Définition

Initialise une nouvelle instance de 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)

Paramètres

fields
Dictionary<String,StringValues>

Champs de stockage.

files
IFormFileCollection

Fichiers associés au formulaire.

S’applique à