Sdílet prostřednictvím


VsValidationController.Validate Method

Definition

Do validation for a set of elements

public:
 override bool Validate(System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ subjects, Microsoft::VisualStudio::Modeling::Validation::ValidationCategories categories);
public override bool Validate (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> subjects, Microsoft.VisualStudio.Modeling.Validation.ValidationCategories categories);
override this.Validate : seq<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.Validation.ValidationCategories -> bool
Public Overrides Function Validate (subjects As IEnumerable(Of ModelElement), categories As ValidationCategories) As Boolean

Parameters

subjects
IEnumerable<ModelElement>

The list of subjects to validate

Returns

Returns true if no error/warning/message are found.

Applies to