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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.