Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentPropertyFile

    Represents an uploaded file for a property.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.Editors
    Assembly: Umbraco.Core.dll
    Syntax
    public class ContentPropertyFile

    Properties

    View Source

    Culture

    When dealing with content variants, this is the culture for the variant

    Declaration
    public string Culture { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    FileName

    Gets or sets the name of the file.

    Declaration
    public string FileName { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Metadata

    An array of metadata that is parsed out from the file info posted to the server which is set on the client.

    Declaration
    public string[] Metadata { get; set; }
    Property Value
    Type Description
    System.String[]
    Remarks

    This can be used for property types like Nested Content that need to have special unique identifiers for each file since there might be multiple files per property.

    View Source

    PropertyAlias

    Gets or sets the property alias.

    Declaration
    public string PropertyAlias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Segment

    When dealing with content variants, this is the segment for the variant

    Declaration
    public string Segment { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    TempFilePath

    Gets or sets the temporary path where the file has been uploaded.

    Declaration
    public string TempFilePath { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Culture
      • FileName
      • Metadata
      • PropertyAlias
      • Segment
      • TempFilePath
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX