VerificationConditionalOperator Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies operators for a conditional expression used in a VerificationAttribute class.
public enum class VerificationConditionalOperator
public enum VerificationConditionalOperator
type VerificationConditionalOperator =
Public Enum VerificationConditionalOperator
- Inheritance
Fields
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
See also
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за