Regex Property
Collapse the table of content
Expand the table of content

RegexStringValidatorAttribute.Regex Property

 

Gets the string used to perform regular-expression validation.

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

member Regex : string with 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:
© 2016 Microsoft