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

Class PropertyMultipleValue

Property that stores multiple values in a comma delimited string.

Inherited Members
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.Core
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
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

true if the specified value is active for the property.; otherwise, false.

Implements

Extension Methods