Class ContentPropertyData
Represents data that has been submitted to be saved for a content property
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models.Editors
Assembly: Umbraco.Core.dll
Syntax
public class ContentPropertyData
Remarks
This object exists because we may need to save additional data for each property, more than just the string representation of the value being submitted. An example of this is uploaded files.
Constructors
View SourceContentPropertyData(Object, Object)
Declaration
public ContentPropertyData(object value, object dataTypeConfiguration)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Object | dataTypeConfiguration |
Properties
View SourceContentKey
Gets or sets the unique identifier of the content owning the property.
Declaration
public Guid ContentKey { get; set; }
Property Value
Type | Description |
---|---|
Guid |
DataTypeConfiguration
The data type configuration for the property.
Declaration
public object DataTypeConfiguration { get; }
Property Value
Type | Description |
---|---|
System.Object |
Files
Gets or sets the uploaded files.
Declaration
public ContentPropertyFile[] Files { get; set; }
Property Value
Type | Description |
---|---|
ContentPropertyFile[] |
PropertyTypeKey
Gets or sets the unique identifier of the property type.
Declaration
public Guid PropertyTypeKey { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Value
The value submitted for the property
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System.Object |