編輯

共用方式為


VerificationAttribute.VerificationRule Property

Definition

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

public:
 property System::Web::UI::VerificationRule VerificationRule { System::Web::UI::VerificationRule get(); };
public System.Web.UI.VerificationRule VerificationRule { get; }
member this.VerificationRule : System.Web.UI.VerificationRule
Public ReadOnly Property VerificationRule As VerificationRule

Property Value

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

Remarks

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.

Applies to

See also