ValidationController::Validate Method (IEnumerable<ModelElement^>^, ValidationCategories)
Visual Studio 2015
Apply validation methods to every model element in a list. Methods will be invoked that have a ValidationMethod attribute for one or more of the specified Categories.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
public: virtual bool Validate( IEnumerable<ModelElement^>^ subjects, ValidationCategories categories )
Parameters
- subjects
-
Type:
System.Collections.Generic::IEnumerable<ModelElement^>^
The list of elements to validate
- categories
-
Type:
Microsoft.VisualStudio.Modeling.Validation::ValidationCategories
Specifies which validation methods will be invoked.
Return Value
Type: System::Boolean
Show: