共用方式為


IClientModelValidator.AddValidation(ClientModelValidationContext) 方法

定義

呼叫 以新增用戶端模型驗證。

public:
 void AddValidation(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ClientModelValidationContext ^ context);
public void AddValidation (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context);
abstract member AddValidation : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext -> unit
Public Sub AddValidation (context As ClientModelValidationContext)

參數

適用於