編輯

共用方式為


PositiveTimeSpanValidatorAttribute.ValidatorInstance Property

Definition

Gets an instance of the PositiveTimeSpanValidator class.

public:
 virtual property System::Configuration::ConfigurationValidatorBase ^ ValidatorInstance { System::Configuration::ConfigurationValidatorBase ^ get(); };
public override System.Configuration.ConfigurationValidatorBase ValidatorInstance { get; }
member this.ValidatorInstance : System.Configuration.ConfigurationValidatorBase
Public Overrides ReadOnly Property ValidatorInstance As ConfigurationValidatorBase

Property Value

The ConfigurationValidatorBase validator instance.

Remarks

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

Applies to