RegularExpressionAttributeAdapter Constructor (ModelMetadata, ModelBindingExecutionContext, RegularExpressionAttribute)
.NET Framework (current version)
Initializes a new instance of the RegularExpressionAttributeAdapter class.
Assembly: System.Web (in System.Web.dll)
Public Sub New ( metadata As ModelMetadata, context As ModelBindingExecutionContext, attribute As RegularExpressionAttribute )
Parameters
- metadata
-
Type:
System.Web.ModelBinding.ModelMetadata
The metadata.
- context
-
Type:
System.Web.ModelBinding.ModelBindingExecutionContext
The context.
- attribute
-
Type:
System.ComponentModel.DataAnnotations.RegularExpressionAttribute
The attribute.
.NET Framework
Available since 4.5
Available since 4.5
Show: