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应与此存储关联的 。

适用于