November Happy Hour will be moved to Thursday December 5th.

Class RegularExpressionValidationSettings

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Settings for configuring validation of string properties based on a regular expression pattern.

Inheritance
System.Object
RegularExpressionValidationSettings
Namespace: EPiServer.Validation
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[PropertyValidationSettings]
[PropertyValidationSettings]
public class RegularExpressionValidationSettings : PropertyValidationSettingsBase, IPropertyValidationSettings, IPropertySettings

Constructors

RegularExpressionValidationSettings()

Declaration
public RegularExpressionValidationSettings()

Fields

Name

The name defined for this type of validation

Declaration
public const string Name = "RegularExpression"
Field Value
Type Description
System.String

Properties

Pattern

The regular expression pattern that the property value should be validated against.

Declaration
public string Pattern { get; set; }
Property Value
Type Description
System.String

Implements

Extension Methods