CodeActivityMetadata.SetValidationErrorsCollection(Collection<ValidationError>) CodeActivityMetadata.SetValidationErrorsCollection(Collection<ValidationError>) CodeActivityMetadata.SetValidationErrorsCollection(Collection<ValidationError>) CodeActivityMetadata.SetValidationErrorsCollection(Collection<ValidationError>) Method

Definition

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))

Parameters

validationErrors
Collection<ValidationError>

The validation errors to add.

Applies to