RegexStringValidatorAttribute::Regex Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: