VerificationAttribute.VerificationRule Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a VerificationRule enumeration value indicating how the accessibility checkpoint is used.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public VerificationRule VerificationRule { get; }

Property Value

Type: System.Web.UI.VerificationRule

One of the VerificationRule enumeration values. The default value is Required.

The VerificationRule property can be set when the VerificationAttribute instance is created, but is optional. If you use a constructor that does not take a rule parameter, the default value of Required is used.

.NET Framework
Available since 2.0
Return to top