Share via


ValidationController.Validate Method

Include Protected Members
Include Inherited Members

Validates one or more model elements.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Validate(ModelElement, ValidationCategories) Do validation for a single element, invoking validation methods that have ValidationMethod attributes for one or more of the specified validation categories.
Public method Validate(IEnumerable<ModelElement>, ValidationCategories) 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.
Public method Validate(Partition, ValidationCategories) Apply validation to every element in the specified partition, invoking validation methods that have ValidationMethod attributes for one or more of the specified categories.
Public method Validate(Store, ValidationCategories) Apply validation to every element in the Store, invoking methods that have ValidationMethod attributes for one or more of the specified categories.

Top

See Also

Reference

ValidationController Class

Microsoft.VisualStudio.Modeling.Validation Namespace