PositiveTimeSpanValidatorAttribute.ValidatorInstance Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets an instance of the PositiveTimeSpanValidator class.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public override ConfigurationValidatorBase ValidatorInstance { get; }

You use the ValidatorInstance property to perform positive TimeSpan object validation by calling the PositiveTimeSpanValidator.Validate method.

.NET Framework
Available since 2.0
Return to top
Show: