共用方式為


ActivityMetadata.SetValidationErrorsCollection 方法

定義

將所指定驗證錯誤集合新增至中繼資料的驗證錯誤集合。

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>

要加入的驗證錯誤。

適用於