NAnt SDK Documentation - v0.92

DateTimeValidatorAttribute Class

Used to indicate that a property should be able to be converted into a DateTime.

For a list of all members of this type, see DateTimeValidatorAttribute Members.

System.Object
   System.Attribute
      NAnt.Core.Attributes.ValidatorAttribute
         NAnt.Core.Attributes.DateTimeValidatorAttribute

[Visual Basic]
<AttributeUsage(Inherited:=True, ValidOn:=AttributeTargets.Property, AllowMultiple:=False)>
NotInheritable Public Class DateTimeValidatorAttribute
    Inherits ValidatorAttribute
[C#]
[AttributeUsage(Inherited=True, ValidOn=AttributeTargets.Property, AllowMultiple=False)]
public sealed class DateTimeValidatorAttribute : ValidatorAttribute

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: NAnt.Core.Attributes

Assembly: NAnt.Core (in NAnt.Core.dll)

See Also

DateTimeValidatorAttribute Members | NAnt.Core.Attributes Namespace