Enum DataTypeTargets
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Identifies the kinds of targets a DataType can be offered for when defining fields.
[Flags]
public enum DataTypeTargets
- Extension Methods
Fields
All = ReusableFieldSchema | AllDataClassesAll targets, including reusable field schemas.
AllContentTypes = ReusableContentType | WebsiteContentType | EmailContentType | HeadlessContentTypeAll content type kinds.
AllDataClasses = AllContentTypes | SystemTable | OtherDataClass | Form | CustomerJourneyAll data class targets (every content type kind, system tables, forms, customer journey tables and other data classes), excluding reusable field schemas.
CustomerJourney = 256Fields of customer journey support tables.
EmailContentType = 4Fields of email content types.
Form = 128Fields of forms.
HeadlessContentType = 8Fields of headless content types.
None = 0The data type is not offered for any target.
OtherDataClass = 64Fields of data classes that are neither content types, system tables, forms, nor customer journey tables (for example custom module classes).
ReusableContentType = 1Fields of reusable content types.
ReusableFieldSchema = 16Fields of reusable field schemas.
SystemTable = 32Fields of system tables.
WebsiteContentType = 2Fields of website content types.
Remarks
Combine values with the bitwise OR operator.