Condividi tramite


VsValidationController.CreateValidationContext Method (IEnumerable<ModelElement>, ValidationCategories)

Provide a context class for the validation

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Dichiarazione
Protected Overrides Function CreateValidationContext ( _
    subjects As IEnumerable(Of ModelElement), _
    categories As ValidationCategories _
) As ValidationContext
protected override ValidationContext CreateValidationContext(
    IEnumerable<ModelElement> subjects,
    ValidationCategories categories
)
protected:
virtual ValidationContext^ CreateValidationContext(
    IEnumerable<ModelElement^>^ subjects, 
    ValidationCategories categories
) override
abstract CreateValidationContext : 
        subjects:IEnumerable<ModelElement> * 
        categories:ValidationCategories -> ValidationContext 
override CreateValidationContext : 
        subjects:IEnumerable<ModelElement> * 
        categories:ValidationCategories -> ValidationContext 
protected override function CreateValidationContext(
    subjects : IEnumerable<ModelElement>, 
    categories : ValidationCategories
) : ValidationContext

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Validation.ValidationContext

.NET Framework Security

See Also

Reference

VsValidationController Class

CreateValidationContext Overload

Microsoft.VisualStudio.Modeling.Shell Namespace