共用方式為


ValidationStateAttribute.ValidationState Property

Gets the value of ValidationStateAttribute.

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

Syntax

'宣告
Public ReadOnly Property ValidationState As ValidationState
    Get
public ValidationState ValidationState { get; }
public:
property ValidationState ValidationState {
    ValidationState get ();
}
member ValidationState : ValidationState
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