Partilhar via


ValidationContext Constructor (ValidationCategories, ModelElement)

Constructor

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

Syntax

'Declaração
Public Sub New ( _
    categories As ValidationCategories, _
    subject As ModelElement _
)
public ValidationContext(
    ValidationCategories categories,
    ModelElement subject
)
public:
ValidationContext(
    ValidationCategories categories, 
    ModelElement^ subject
)
new : 
        categories:ValidationCategories * 
        subject:ModelElement -> ValidationContext
public function ValidationContext(
    categories : ValidationCategories, 
    subject : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

ValidationContext Class

ValidationContext Overload

Microsoft.VisualStudio.Modeling.Validation Namespace