Delen via


ValidationStateAttribute Constructor

Apply this attribute to a model element class to control whether its instances are included in validation operations.

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 ( _
    validationState As ValidationState _
)
public ValidationStateAttribute(
    ValidationState validationState
)
public:
ValidationStateAttribute(
    ValidationState validationState
)
new : 
        validationState:ValidationState -> ValidationStateAttribute
public function ValidationStateAttribute(
    validationState : ValidationState
)

Parameters

.NET Framework Security

See Also

Reference

ValidationStateAttribute Class

Microsoft.VisualStudio.Modeling.Validation Namespace