Edit

Share via


ValidationAttribute.RequiresValidationContext Property

Definition

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

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

Property Value

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

Applies to