Partager via


ValidationContext Constructor (ValidationCategories, IEnumerable<ModelElement>)

Constructor

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

Syntax

'Declaration
Public Sub New ( _
    categories As ValidationCategories, _
    subjects As IEnumerable(Of ModelElement) _
)
public ValidationContext(
    ValidationCategories categories,
    IEnumerable<ModelElement> subjects
)
public:
ValidationContext(
    ValidationCategories categories, 
    IEnumerable<ModelElement^>^ subjects
)
new : 
        categories:ValidationCategories * 
        subjects:IEnumerable<ModelElement> -> ValidationContext
public function ValidationContext(
    categories : ValidationCategories, 
    subjects : IEnumerable<ModelElement>
)

Parameters

.NET Framework Security

See Also

Reference

ValidationContext Class

ValidationContext Overload

Microsoft.VisualStudio.Modeling.Validation Namespace