ValidationController::ValidateCustom Method (ModelElement^, array<String^>^)

 

Validates the specified model element using validation methods in the specified custom validation categories.

Namespace:   Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
bool ValidateCustom(
	ModelElement^ subject,
	... array<String^>^ customCategories
)

Parameters

subject
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The model element to validate.

customCategories
Type: array<System::String^>^

Specifies which validation methods will be applied. Every validation method that has a ValidationMethod attribute that specifies one of these custom categories will be applied to each model element in the store.

Return Value

Type: System::Boolean
Return to top
Show: