共用方式為


ValidationMessageStore(EditContext) 建構函式

定義

建立 ValidationMessageStore 的執行個體。

public:
 ValidationMessageStore(Microsoft::AspNetCore::Components::Forms::EditContext ^ editContext);
public ValidationMessageStore (Microsoft.AspNetCore.Components.Forms.EditContext editContext);
new Microsoft.AspNetCore.Components.Forms.ValidationMessageStore : Microsoft.AspNetCore.Components.Forms.EditContext -> Microsoft.AspNetCore.Components.Forms.ValidationMessageStore
Public Sub New (editContext As EditContext)

參數

editContext
EditContext

這個 EditContext 存放區應該與其建立關聯的 。

適用於