Partager via


ValidationController.ValidateCustom Method

Include Protected Members
Include Inherited Members

Validates one or more model elements using validation methods that belong to custom validation categories.

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 ValidateCustom(ModelElement, array<String[]) Validates the specified model element using validation methods in the specified custom validation categories.
Public method ValidateCustom(IEnumerable<ModelElement>, array<String[]) Apply validation methods to each element in the collection. Each validation method in any of the chosen categories is applied to each element in the list. A validation method is in a category if it has a ValidationMethod attribute that specifies the category.
Public method ValidateCustom(Partition, array<String[]) Validates the model elements in a partition for the specified custom validation categories.
Public method ValidateCustom(Store, array<String[]) Validates every model elements in a store, using validation methods in the specified custom categories. A validation method belongs to a category if it has a ValidationMethod attribute specifying that category.

Top

See Also

Reference

ValidationController Class

Microsoft.VisualStudio.Modeling.Validation Namespace