Search Results for

    Show / Hide Table of Contents
    View Source

    Class Property.PropertyValue

    Represents a property value.

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

    Constructors

    View Source

    PropertyValue()

    Declaration
    public PropertyValue()

    Properties

    View Source

    Culture

    Gets or sets the culture of the property.

    Declaration
    public string? Culture { get; set; }
    Property Value
    Type Description
    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
    object
    View Source

    PublishedValue

    Gets or sets the published value of the property.

    Declaration
    public object? PublishedValue { get; set; }
    Property Value
    Type Description
    object
    View Source

    Segment

    Gets or sets the segment of the property.

    Declaration
    public string? Segment { get; set; }
    Property Value
    Type Description
    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()

    Creates a deep clone of the current object.

    Declaration
    public object DeepClone()
    Returns
    Type Description
    object

    A deep clone of the current object.

    View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    View Source

    Equals(PropertyValue?)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX