Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ValidatorInstance Property
Collapse the table of content
Expand the table of content

RegexStringValidatorAttribute.ValidatorInstance Property

Gets an instance of the RegexStringValidator class.

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

abstract ValidatorInstance : ConfigurationValidatorBase with get 
override ValidatorInstance : ConfigurationValidatorBase with get

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft