StringValidatorAttribute::ValidatorInstance Property

 

Gets an instance of the StringValidator class.

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

public:
property ConfigurationValidatorBase^ ValidatorInstance {
	virtual ConfigurationValidatorBase^ get() override;
}

Property Value

Type: System.Configuration::ConfigurationValidatorBase^

A current StringValidator settings in a ConfigurationValidatorBase validator instance.

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

The following example shows how to use the ValidatorInstance property.

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

.NET Framework
Available since 2.0
Return to top
Show: