Access the PropertyData.Value object of properties in the page object.
Return null on get of non-existant property
Throw EPiServerException on set of non-existant property
Namespace:
EPiServer.CoreAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
Parameters
- index
- Type: System..::.String
Field Value
The Value property of the indexed Page property.Note! Using this indexer will use the Pre and Post handlers for property lookup. I e return values are not guaranteed to belong to the page, but may be dynamic properties, "fetch-data-from"-data etc. To get data guaranteed to belong to this page, use the GetValue(String) and SetValue(String, Object) methods.
Also note that setting values with this indexer will only set values that acually belong to the page, i e you may get a valid value by reding from the indexer, but trying to set a new value for the same index may yield an exception since the value does not exist in the page.