CompareAttribute.RequiresValidationContext Property

Definition

Gets a value that indicates whether the attribute requires validation context.

public:
 virtual property bool RequiresValidationContext { bool get(); };
public override bool RequiresValidationContext { get; }
member this.RequiresValidationContext : bool
Public Overrides ReadOnly Property RequiresValidationContext As Boolean

Property Value

true if the attribute requires validation context; otherwise, false.

Applies to