共用方式為


VsValidationController.ValidateCustom Method

Include Protected Members
Include Inherited Members

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(IEnumerable<ModelElement>, array<String[]) Invoke all the validation methods of a set of elements, including their (Overrides ValidationController.ValidateCustom(IEnumerable<ModelElement>, array<String[]).)
Public method ValidateCustom(ModelElement, array<String[]) Validates the specified model element using validation methods in the specified custom validation categories. (Inherited from ValidationController.)
Public method ValidateCustom(Partition, array<String[]) Validates the model elements in a partition for the specified custom validation categories. (Inherited from ValidationController.)
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. (Inherited from ValidationController.)

Top

See Also

Reference

VsValidationController Class

Microsoft.VisualStudio.Modeling.Shell Namespace