RegexStringValidatorAttribute::Regex Property

 

Gets the string used to perform regular-expression validation.

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

public:
property String^ Regex {
	String^ get();
}

Property Value

Type: System::String^

The string containing the regular expression used to filter the string assigned to the decorated configuration-element property.

The following example shows how to use the Regex property.

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

.NET Framework
Available since 2.0
Return to top
Show: