ValidationContext Constructor (array<String^>^, ModelElement^)

 

Initializes a new instance of the ValidationContext class that has a specific model element to validate.

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

public:
ValidationContext(
	array<String^>^ customCategories,
	ModelElement^ subject
)

Parameters

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

A list of custom specified strings. If you include this parameter, any validation method with a string in this list can be validated.

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

The root object to be validated.

Return to top
Show: