Freigeben über


ValidationController.CreateValidationContext Method

Include Protected Members
Include Inherited Members

Creates a ValidationContext object.

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
Protected method CreateValidationContext(IEnumerable<ModelElement>, ValidationCategories) Creates a validation context for validation of a list of elements.
Protected method CreateValidationContext(IEnumerable<ModelElement>, array<String[]) Create a context for validation of a collection of model elements. Every validation method that belongs to any of the specified custom categories will be applied to every element in the subjects list.

Top

See Also

Reference

ValidationController Class

Microsoft.VisualStudio.Modeling.Validation Namespace