ActivityMetadata.SetValidationErrorsCollection(Collection<ValidationError>) 方法

定義

將所指定驗證錯誤集合新增至中繼資料的驗證錯誤集合。Adds the specified collection of validation errors to the metadata's collection of validation errors.

public:
 void SetValidationErrorsCollection(System::Collections::ObjectModel::Collection<System::Activities::Validation::ValidationError ^> ^ validationErrors);
public void SetValidationErrorsCollection (System.Collections.ObjectModel.Collection<System.Activities.Validation.ValidationError> validationErrors);
member this.SetValidationErrorsCollection : System.Collections.ObjectModel.Collection<System.Activities.Validation.ValidationError> -> unit
Public Sub SetValidationErrorsCollection (validationErrors As Collection(Of ValidationError))

參數

validationErrors
Collection<ValidationError>

要加入的驗證錯誤。The validation errors to add.

適用於