Partager via


ValidationStateAttribute Class

Definition

Attribute class used to mark meta-classes. A valid meta-class should have both [MetaObject] and [MetaClass] defined.

public ref class ValidationStateAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ValidationStateAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ValidationStateAttribute = class
    inherit Attribute
Public NotInheritable Class ValidationStateAttribute
Inherits Attribute
Inheritance
ValidationStateAttribute
Attributes

Constructors

ValidationStateAttribute(ValidationState)

Initializes a new instance of ValidationStateAttribute class.

Properties

ValidationState

Gets the constraint validation flag for the meta-class custom attribute.

Applies to