PositiveTimeSpanValidatorAttribute Class
.NET Framework 2.0
Note: This class is new in the .NET Framework version 2.0.
Declaratively instructs the .NET Framework to perform time validation on a configuration property. This class cannot be inherited.
Namespace: System.Configuration
Assembly: System.Configuration (in system.configuration.dll)
Assembly: System.Configuration (in system.configuration.dll)
'Declaration <AttributeUsageAttribute(AttributeTargets.Property)> _ Public NotInheritable Class PositiveTimeSpanValidatorAttribute Inherits ConfigurationValidatorAttribute 'Usage Dim instance As PositiveTimeSpanValidatorAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Property) */ public final class PositiveTimeSpanValidatorAttribute extends ConfigurationValidatorAttribute
AttributeUsageAttribute(AttributeTargets.Property) public final class PositiveTimeSpanValidatorAttribute extends ConfigurationValidatorAttribute
You use the PositiveTimeSpanValidatorAttribute attribute to decorate a configuration property. This instructs the .NET Framework to validate the property using a PositiveTimeSpanValidator object and pass the value of the decorating parameters.
You can apply PositiveTimeSpanValidatorAttribute objects only to property types.
System.Object
System.Attribute
System.Configuration.ConfigurationValidatorAttribute
System.Configuration.PositiveTimeSpanValidatorAttribute
System.Attribute
System.Configuration.ConfigurationValidatorAttribute
System.Configuration.PositiveTimeSpanValidatorAttribute
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: