ValidationContext::Categories Property
Visual Studio 2015
Gets the validation categories for this validation context.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Property Value
Type: Microsoft.VisualStudio.Modeling.Validation::ValidationCategoriesThe validation category indicates which types of actions invoked the validation.
The validation category can combine one or more of these values:
Custom - Indicates that the method is a custom validation method.
Debug - Indicates that the method is invoked when Visual Studio is in debug mode.
Menu - Indicates that the method is invoked when a user clicks a command on a shortcut menu.
Load - Indicates that the method is invoked before a user opens a file.
Open - Indicates that the method is invoked when a user opens a file.
Save - Indicates that the method is invoked when a user saves a file.
Show: