VerificationConditionalOperator Enum

Definition

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

public enum VerificationConditionalOperator
Inheritance
VerificationConditionalOperator

Fields

Name Value Description
Equals 0

The equal to operator (=).

NotEquals 1

The not equal to operator (!=).

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also