Class PropertyEmailAddress
Property type for storing email addesses
Inheritance
System.Object
PropertyEmailAddress
Namespace: EPiServer.Commerce.SpecializedProperties
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
public class PropertyEmailAddress : PropertyString
Remarks
Will store the value in the string column in the database
Constructors
PropertyEmailAddress()
Declaration
public PropertyEmailAddress()
Properties
String
Gets or sets the string.
Declaration
protected override string String { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string. |
Value
Gets or sets the value.
Declaration
public override object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The value. |
Methods
ParseToSelf(String)
Declaration
public override void ParseToSelf(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
SetDefaultValue()
Sets the default value for this property.
Declaration
protected override void SetDefaultValue()
ValidateEmailAddress(String)
Validates the email address.
Declaration
protected virtual void ValidateEmailAddress(string email)
Parameters
Type | Name | Description |
---|---|---|
System.String | The email. |