Search Results for

    Show / Hide Table of Contents
    View Source

    Class Property.PropertyValue

    Represents a property value.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class PropertyValue : IPropertyValue, IDeepCloneable

    Properties

    View Source

    Culture

    Gets or sets the culture of the property.

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

    The culture is either null (invariant) or a non-empty string. If the property is set with an empty or whitespace value, its value is converted to null.

    View Source

    EditedValue

    Gets or sets the edited value of the property.

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

    PublishedValue

    Gets or sets the published value of the property.

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

    Segment

    Gets or sets the segment of the property.

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

    The segment is either null (neutral) or a non-empty string. If the property is set with an empty or whitespace value, its value is converted to null.

    Methods

    View Source

    Clone()

    Clones the property value.

    Declaration
    public IPropertyValue Clone()
    Returns
    Type Description
    IPropertyValue
    View Source

    DeepClone()

    Declaration
    public object DeepClone()
    Returns
    Type Description
    System.Object
    View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    View Source

    Equals(Property.PropertyValue)

    Declaration
    public bool Equals(Property.PropertyValue other)
    Parameters
    Type Name Description
    Property.PropertyValue other
    Returns
    Type Description
    System.Boolean
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Culture
      • EditedValue
      • PublishedValue
      • Segment
    • Methods
      • Clone()
      • DeepClone()
      • Equals(Object)
      • Equals(Property.PropertyValue)
      • GetHashCode()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX