Class RawProperty
Raw data contained in a PropertyData.
Inheritance
Inherited Members
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class RawProperty
Constructors
RawProperty()
Declaration
public RawProperty()
Fields
AssemblyName
The name for the assembly that the definition of the property is contained in.
Declaration
public string AssemblyName
Field Value
Type | Description |
---|---|
System.String |
BlockProperties
The properties for a property of type IPropertyBlock.
Declaration
public RawProperty[] BlockProperties
Field Value
Type | Description |
---|---|
RawProperty[] |
Remarks
For properties definied on PageType this value is null. For properties that are definied on a BlockType this wil be the properties for the block.
BlockTypeReference
The reference to a block type.
Declaration
public BlockTypeReference BlockTypeReference
Field Value
Type | Description |
---|---|
BlockTypeReference |
Remarks
For properties definied on PageType this value is null. For properties that are of type Block corresponding to a BlockType this will be the reference to the BlockType.
CustomData
An array of RawNameAndXml to be able to store additional information.
Declaration
public RawNameAndXml[] CustomData
Field Value
Type | Description |
---|---|
RawNameAndXml[] |
Description
The description of the property.
Declaration
public string Description
Field Value
Type | Description |
---|---|
System.String |
DisplayName
The name that will be displayed to the user (may be translated).
Declaration
public string DisplayName
Field Value
Type | Description |
---|---|
System.String |
IsDynamicProperty
If this is a dynamic property.
Declaration
public bool IsDynamicProperty
Field Value
Type | Description |
---|---|
System.Boolean |
IsLanguageSpecific
If this property is language specific.
Declaration
public bool IsLanguageSpecific
Field Value
Type | Description |
---|---|
System.Boolean |
IsModified
If the property has been modified.
Declaration
public bool IsModified
Field Value
Type | Description |
---|---|
System.Boolean |
IsNull
Is the value of the property is null/undefined.
Declaration
public bool IsNull
Field Value
Type | Description |
---|---|
System.Boolean |
IsPropertyData
If this property is a standard page property.
Declaration
public bool IsPropertyData
Field Value
Type | Description |
---|---|
System.Boolean |
Remarks
This simply determines that it is not a dynamic property and not meta data.
IsRequired
If the value for this property is required.
Declaration
public bool IsRequired
Field Value
Type | Description |
---|---|
System.Boolean |
LanguageKey
The language key for the property.
Declaration
public string LanguageKey
Field Value
Type | Description |
---|---|
System.String |
Remarks
Used to get translated values for name and description.
Name
The name of the property.
Declaration
public string Name
Field Value
Type | Description |
---|---|
System.String |
OwnerTab
The tab that the property should appear on.
Declaration
public int OwnerTab
Field Value
Type | Description |
---|---|
System.Int32 |
PageDefinitionID
The id of the property definition for the page.
Declaration
[Obsolete("Use the field named PropertyDefinitionID instead", false)]
public int PageDefinitionID
Field Value
Type | Description |
---|---|
System.Int32 |
PropertyDefinitionID
The id of the property definition for the page.
Declaration
public int PropertyDefinitionID
Field Value
Type | Description |
---|---|
System.Int32 |
Type
The base type of the property as defined in PropertyDataType.
Declaration
public PropertyDataType Type
Field Value
Type | Description |
---|---|
PropertyDataType |
TypeName
The type name of the property definition.
Declaration
public string TypeName
Field Value
Type | Description |
---|---|
System.String |
Value
The value for the property.
Declaration
public string Value
Field Value
Type | Description |
---|---|
System.String |