Class Property.InitialPropertyValue
Used for constructing a new Property instance
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class Property.InitialPropertyValue
Constructors
View SourceInitialPropertyValue(string?, string?, bool, object?)
Initializes a new instance of the Property.InitialPropertyValue class.
Declaration
public InitialPropertyValue(string? culture, string? segment, bool published, object? value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | culture | The culture for this value. |
| string | segment | The segment for this value. |
| bool | published | Whether this is a published value. |
| object | value | The property value. |
Properties
View SourceCulture
Gets the culture for this value.
Declaration
public string? Culture { get; }
Property Value
| Type | Description |
|---|---|
| string |
Published
Gets a value indicating whether this is a published value.
Declaration
public bool Published { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Segment
Gets the segment for this value.
Declaration
public string? Segment { get; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Gets the property value.
Declaration
public object? Value { get; }
Property Value
| Type | Description |
|---|---|
| object |