Bagikan melalui


CodeActivityMetadata.SetValidationErrorsCollection Metode

Definisi

Menambahkan kumpulan kesalahan validasi yang ditentukan ke kumpulan kesalahan validasi metadata.

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

Parameter

validationErrors
Collection<ValidationError>

Kesalahan validasi yang akan ditambahkan.

Berlaku untuk