Class PropertyMultipleValue
Property that stores multiple values in a comma delimited string.
Inheritance
System.Object
PropertyMultipleValue
Inherited Members
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public abstract class PropertyMultipleValue : PropertyString, IReadOnly<PropertyData>, IReadOnly
Constructors
PropertyMultipleValue()
Declaration
protected PropertyMultipleValue()
Properties
MaxLength
Gets or sets the max length of the string.
Declaration
public override int MaxLength { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The max length of the string. |
Overrides
Remarks
Default value is 450.
String
Get or sets the value as a comma delimited string.
Declaration
protected override string String { set; }
Property Value
Type | Description |
---|---|
System.String | The value as a comma delimited string. |
Overrides
Examples
A valid value can look like this: "value1,value2,value9".
Methods
IsValueActive(String)
Determines whether the specified value is active for the property.
Declaration
public bool IsValueActive(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
System.Boolean |
|