FormFeature 构造函数

定义

重载

FormFeature(HttpRequest)

初始化 FormFeature 的新实例。

FormFeature(IFormCollection)

初始化 FormFeature 的新实例。

FormFeature(HttpRequest, FormOptions)

初始化 FormFeature 的新实例。

FormFeature(HttpRequest)

Source:
FormFeature.cs
Source:
FormFeature.cs
Source:
FormFeature.cs

初始化 FormFeature 的新实例。

public:
 FormFeature(Microsoft::AspNetCore::Http::HttpRequest ^ request);
public FormFeature (Microsoft.AspNetCore.Http.HttpRequest request);
new Microsoft.AspNetCore.Http.Features.FormFeature : Microsoft.AspNetCore.Http.HttpRequest -> Microsoft.AspNetCore.Http.Features.FormFeature
Public Sub New (request As HttpRequest)

参数

适用于

FormFeature(IFormCollection)

Source:
FormFeature.cs
Source:
FormFeature.cs
Source:
FormFeature.cs

初始化 FormFeature 的新实例。

public:
 FormFeature(Microsoft::AspNetCore::Http::IFormCollection ^ form);
public FormFeature (Microsoft.AspNetCore.Http.IFormCollection form);
new Microsoft.AspNetCore.Http.Features.FormFeature : Microsoft.AspNetCore.Http.IFormCollection -> Microsoft.AspNetCore.Http.Features.FormFeature
Public Sub New (form As IFormCollection)

参数

form
IFormCollection

IFormCollection要用作后备存储的 。

适用于

FormFeature(HttpRequest, FormOptions)

Source:
FormFeature.cs
Source:
FormFeature.cs
Source:
FormFeature.cs

初始化 FormFeature 的新实例。

public:
 FormFeature(Microsoft::AspNetCore::Http::HttpRequest ^ request, Microsoft::AspNetCore::Http::Features::FormOptions ^ options);
public FormFeature (Microsoft.AspNetCore.Http.HttpRequest request, Microsoft.AspNetCore.Http.Features.FormOptions options);
new Microsoft.AspNetCore.Http.Features.FormFeature : Microsoft.AspNetCore.Http.HttpRequest * Microsoft.AspNetCore.Http.Features.FormOptions -> Microsoft.AspNetCore.Http.Features.FormFeature
Public Sub New (request As HttpRequest, options As FormOptions)

参数

options
FormOptions

Microsoft.AspNetCore.Http.Features.FormFeature.FormOptions

适用于