Class Constants.ReferenceType
Defines reference types.
Inheritance
Namespace: Umbraco.Cms.Core
Assembly: Umbraco.Core.dll
Syntax
public static class Constants.ReferenceType
Remarks
Reference types are used to identify the type of entity that is being referenced when exposing references between Umbraco entities. These are used in the management API and backoffice to indicate and warn editors when working with an entity, as to what other entities depend on it. These consist of references managed by Umbraco relations (e.g. document, media and member). But also references that come from schema (e.g. data type usage on content types).
Fields
View SourceDocument
The reference type for document entities.
Declaration
public const string Document = "document"
Field Value
| Type | Description |
|---|---|
| string |
DocumentTypePropertyType
The reference type for document type property type references.
Declaration
public const string DocumentTypePropertyType = "document-type-property-type"
Field Value
| Type | Description |
|---|---|
| string |
Media
The reference type for media entities.
Declaration
public const string Media = "media"
Field Value
| Type | Description |
|---|---|
| string |
MediaTypePropertyType
The reference type for media type property type references.
Declaration
public const string MediaTypePropertyType = "media-type-property-type"
Field Value
| Type | Description |
|---|---|
| string |
Member
The reference type for member entities.
Declaration
public const string Member = "member"
Field Value
| Type | Description |
|---|---|
| string |
MemberTypePropertyType
The reference type for member type property type references.
Declaration
public const string MemberTypePropertyType = "member-type-property-type"
Field Value
| Type | Description |
|---|---|
| string |