View Source
Interface IProperty
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
Property Value
View Source
PropertyType
Returns the PropertyType, which this Property is based on
Declaration
IPropertyType PropertyType { get; }
Property Value
View Source
PropertyTypeId
Declaration
int PropertyTypeId { get; }
Property Value
View Source
ValueStorageType
Declaration
ValueStorageType ValueStorageType { get; }
Property Value
View Source
Values
Declaration
IReadOnlyCollection<IPropertyValue> Values { get; set; }
Property Value
Methods
View Source
GetValue(string?, string?, bool)
Declaration
object? GetValue(string? culture = null, string? segment = null, bool published = false)
Parameters
| Type |
Name |
Description |
| string |
culture |
|
| string |
segment |
|
| bool |
published |
|
Returns
View Source
PublishPartialValues(IDataEditor, string?)
Declaration
void PublishPartialValues(IDataEditor dataEditor, string? culture)
Parameters
| Type |
Name |
Description |
| IDataEditor |
dataEditor |
|
| string |
culture |
|
View Source
PublishValues(string?, string)
Declaration
void PublishValues(string? culture = "*", string segment = "*")
Parameters
| Type |
Name |
Description |
| string |
culture |
|
| string |
segment |
|
View Source
SetValue(object?, string?, string?)
Declaration
bool SetValue(object? value, string? culture = null, string? segment = null)
Parameters
| Type |
Name |
Description |
| object |
value |
|
| string |
culture |
|
| string |
segment |
|
Returns
| Type |
Description |
| bool |
true if the value was set (updated), false otherwise.
|
View Source
UnpublishValues(string?, string)
Declaration
void UnpublishValues(string? culture = "*", string segment = "*")
Parameters
| Type |
Name |
Description |
| string |
culture |
|
| string |
segment |
|