Share via


ValidationStateAttribute.ValidationState Property

Gets the value of ValidationStateAttribute.

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

Syntax

'Declaration
Public ReadOnly Property ValidationState As ValidationState
public ValidationState ValidationState { get; }
public:
property ValidationState ValidationState {
    ValidationState get ();
}
member ValidationState : ValidationState with get
function get ValidationState () : ValidationState

Property Value

Type: Microsoft.VisualStudio.Modeling.Validation.ValidationState
A ValidationState that indicates whether validation is enabled, disabled, or inherited (where the parent class' ValidationState determines whether validation is enabled for the class).

.NET Framework Security

See Also

Reference

ValidationStateAttribute Class

Microsoft.VisualStudio.Modeling.Validation Namespace