RegexStringValidatorAttribute::ValidatorInstance Property


Gets an instance of the RegexStringValidator class.

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

property ConfigurationValidatorBase^ ValidatorInstance {
	virtual ConfigurationValidatorBase^ get() override;

You use the ValidatorInstance property to perform string validation by calling its Validate method.

The following example shows how to use the ValidatorInstance method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top