VsValidationController.Validate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- categories
- ValidationCategories
Returns
Returns true if no error/warning/message are found.