ValidateOptionsResultBuilder.AddResults 方法

定义

将实例枚举 ValidationResult 携带的任何验证错误添加到此实例。

public:
 void AddResults(System::Collections::Generic::IEnumerable<System::ComponentModel::DataAnnotations::ValidationResult ^> ^ results);
public void AddResults (System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult?>? results);
member this.AddResults : seq<System.ComponentModel.DataAnnotations.ValidationResult> -> unit
Public Sub AddResults (results As IEnumerable(Of ValidationResult))

参数

results
IEnumerable<ValidationResult>

要从中使用错误的枚举。

适用于