Associates a PresenceValidationRule with the attribute target.

Namespace:  Mindscape.LightSpeed.Validation
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class ValidatePresenceAttribute : ValidationAttribute
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Field, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class ValidatePresenceAttribute _
	Inherits ValidationAttribute

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    Mindscape.LightSpeed.Validation..::.ValidationAttribute
      Mindscape.LightSpeed.Validation..::.ValidatePresenceAttribute

See Also