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)

參數

適用於