ElementInformation::Validator Property

 

Gets the object used to validate the associated ConfigurationElement object.

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

public:
property ConfigurationValidatorBase^ Validator {
	ConfigurationValidatorBase^ get();
}

Property Value

Type: System.Configuration::ConfigurationValidatorBase^

The object used to validate the associated ConfigurationElement object.

A validator object is not required, and this property may return null.

The following example shows how to use the Validator property.

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

.NET Framework
Available since 2.0
Return to top
Show: