Class ContentPropertyBasic
Represents a content property to be saved
Inheritance
System.Object
Namespace: Umbraco.Web.Models.ContentEditing
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "property", Namespace = "")]
public class ContentPropertyBasic
Properties
View SourceAlias
Declaration
[DataMember(Name = "alias", IsRequired = true)]
[Required(AllowEmptyStrings = false)]
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Culture
The culture of the property
Declaration
[DataMember(Name = "culture")]
public string Culture { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If this is a variant property then this culture value will be the same as it's variant culture but if this is an invariant property then this will be a null value.
DataTypeKey
Declaration
[DataMember(Name = "dataTypeKey", IsRequired = false)]
public Guid DataTypeKey { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Editor
Declaration
[DataMember(Name = "editor", IsRequired = false)]
public string Editor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
This is the PropertyData ID
Declaration
[DataMember(Name = "id", IsRequired = true)]
[Required]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This is not really used for anything
IsSensitive
Flags the property to denote that it can contain sensitive data
Declaration
[DataMember(Name = "isSensitive", IsRequired = false)]
public bool IsSensitive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Segment
The segment of the property
Declaration
[DataMember(Name = "segment")]
public string Segment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
The segment value of a property can always be null but can only have a non-null value when the property can be varied by segment.
Value
Declaration
[DataMember(Name = "value")]
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |