SaaS CMS has officially launched! Learn more now.

Class PropertyDataType

Enumeration that defines the different basic types of properties.

Inheritance
System.Object
PropertyDataType
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public sealed class PropertyDataType : Enum

Fields

Block

A data type that references a block definition.

Declaration
public const PropertyDataType Block
Field Value
Type Description
PropertyDataType

Boolean

True or false.

Declaration
public const PropertyDataType Boolean
Field Value
Type Description
PropertyDataType

Category

A selection of categories.

Declaration
public const PropertyDataType Category
Field Value
Type Description
PropertyDataType

ContentReference

A link to a content item.

Declaration
public const PropertyDataType ContentReference
Field Value
Type Description
PropertyDataType

Date

A datetime value.

Declaration
public const PropertyDataType Date
Field Value
Type Description
PropertyDataType

FloatNumber

A double.

Declaration
public const PropertyDataType FloatNumber
Field Value
Type Description
PropertyDataType

Json

A data type that is stored as a JSON serialized string.

Declaration
public const PropertyDataType Json
Field Value
Type Description
PropertyDataType

LinkCollection

A collection of links.

Declaration
public const PropertyDataType LinkCollection
Field Value
Type Description
PropertyDataType

LongString

A string character of non-specified length.

Declaration
public const PropertyDataType LongString
Field Value
Type Description
PropertyDataType

Number

An integer.

Declaration
public const PropertyDataType Number
Field Value
Type Description
PropertyDataType

PageReference

A link to a page.

Declaration
public const PropertyDataType PageReference
Field Value
Type Description
PropertyDataType

PageType

A page type.

Declaration
public const PropertyDataType PageType
Field Value
Type Description
PropertyDataType

String

A string up to 255 characters.

Declaration
public const PropertyDataType String
Field Value
Type Description
PropertyDataType

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Extension Methods