Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VerificationConditionalOperator Enumeration

 

Specifies operators for a conditional expression used in a VerificationAttribute class.

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

public enum class VerificationConditionalOperator

Member nameDescription
Equals

The equal to operator (=).

NotEquals

The not equal to operator (!=).

When using extending a class, member or indexer with a VerificationAttribute, you may use a conditional expression to define how accessibility is verified. The left side of a conditional expression is the ConditionalProperty and the right side is the ConditionalValue. When the Equals operator is used, the left side must equal the right side of the conditional expression for the verification rule to report true. When the NotEquals operator is used, the left side must not equal to the right side of the conditional expression for the verification rule to report true.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft