共用方式為


FormCollection 建構函式

定義

初始化 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)

參數

fields
Dictionary<String,StringValues>

備份欄位。

files
IFormFileCollection

與表單相關聯的檔案。

適用於