Initializes a new instance of the ValidateFormatAttribute class.
Namespace:
Mindscape.LightSpeed.ValidationAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public ValidateFormatAttribute( string pattern ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ pattern As String _ ) |
Parameters
- pattern
- Type: System..::.String
The regex pattern.