System.Web.UI.ValidationPropertyAttribute Class

Defines the metadata attribute that ASP.NET server controls use to identify a validation property. This class cannot be inherited.

See Also: ValidationPropertyAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class ValidationPropertyAttribute : Attribute

Remarks

This attribute is typically used for form-based input controls.

For more information about attributes, see Extending Metadata Using Attributes.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0