FormFeature 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FormFeature(HttpRequest) |
初始化 FormFeature 的新執行個體。 |
FormFeature(IFormCollection) |
初始化 FormFeature 的新執行個體。 |
FormFeature(HttpRequest, FormOptions) |
初始化 FormFeature 的新執行個體。 |
FormFeature(HttpRequest)
初始化 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)
參數
- request
- HttpRequest
適用於
FormFeature(IFormCollection)
初始化 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)
初始化 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)
參數
- request
- HttpRequest
- options
- FormOptions
Microsoft.AspNetCore.Http.Features.FormFeature.FormOptions。