Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    ContentPropertyData(Object, Object)

    Declaration
    public ContentPropertyData(object value, object dataTypeConfiguration)
    Parameters
    Type Name Description
    System.Object value
    System.Object dataTypeConfiguration

    Properties

    View Source

    ContentKey

    Gets or sets the unique identifier of the content owning the property.

    Declaration
    public Guid ContentKey { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    DataTypeConfiguration

    The data type configuration for the property.

    Declaration
    public object DataTypeConfiguration { get; }
    Property Value
    Type Description
    System.Object
    View Source

    Files

    Gets or sets the uploaded files.

    Declaration
    public ContentPropertyFile[] Files { get; set; }
    Property Value
    Type Description
    ContentPropertyFile[]
    View Source

    PropertyTypeKey

    Gets or sets the unique identifier of the property type.

    Declaration
    public Guid PropertyTypeKey { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    Value

    The value submitted for the property

    Declaration
    public object Value { get; }
    Property Value
    Type Description
    System.Object
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentPropertyData(Object, Object)
    • Properties
      • ContentKey
      • DataTypeConfiguration
      • Files
      • PropertyTypeKey
      • Value
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX