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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Validation
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[PropertyValidationSettings("RegularExpression", typeof(PropertyString))]
[PropertyValidationSettings("RegularExpression", typeof(PropertyLongString))]
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 |