This documentation is archived and is not being maintained.

VerificationConditionalOperator Enumeration

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

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

'Declaration
Public Enumeration VerificationConditionalOperator

Member nameDescription
EqualsThe equal to operator (=).
NotEqualsThe 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

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: