Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IProperty

    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IProperty : IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Properties

    View Source

    Alias

    Returns the Alias of the PropertyType, which this Property is based on

    Declaration
    string Alias { get; }
    Property Value
    Type Description
    System.String
    View Source

    PropertyType

    Returns the PropertyType, which this Property is based on

    Declaration
    IPropertyType PropertyType { get; }
    Property Value
    Type Description
    IPropertyType
    View Source

    PropertyTypeId

    Declaration
    int PropertyTypeId { get; }
    Property Value
    Type Description
    System.Int32
    View Source

    Values

    Gets the list of values.

    Declaration
    IReadOnlyCollection<IPropertyValue> Values { get; set; }
    Property Value
    Type Description
    IReadOnlyCollection<IPropertyValue>
    View Source

    ValueStorageType

    Declaration
    ValueStorageType ValueStorageType { get; }
    Property Value
    Type Description
    ValueStorageType

    Methods

    View Source

    GetValue(String, String, Boolean)

    Gets the value.

    Declaration
    object GetValue(string culture = null, string segment = null, bool published = false)
    Parameters
    Type Name Description
    System.String culture
    System.String segment
    System.Boolean published
    Returns
    Type Description
    System.Object
    View Source

    PublishPartialValues(IDataEditor, String)

    Declaration
    void PublishPartialValues(IDataEditor dataEditor, string culture)
    Parameters
    Type Name Description
    IDataEditor dataEditor
    System.String culture
    View Source

    PublishValues(String, String)

    Declaration
    void PublishValues(string culture = "*", string segment = "*")
    Parameters
    Type Name Description
    System.String culture
    System.String segment
    View Source

    SetValue(Object, String, String)

    Sets a value.

    Declaration
    void SetValue(object value, string culture = null, string segment = null)
    Parameters
    Type Name Description
    System.Object value
    System.String culture
    System.String segment
    View Source

    UnpublishValues(String, String)

    Declaration
    void UnpublishValues(string culture = "*", string segment = "*")
    Parameters
    Type Name Description
    System.String culture
    System.String segment
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Alias
      • PropertyType
      • PropertyTypeId
      • Values
      • ValueStorageType
    • Methods
      • GetValue(String, String, Boolean)
      • PublishPartialValues(IDataEditor, String)
      • PublishValues(String, String)
      • SetValue(Object, String, String)
      • UnpublishValues(String, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX