Class PageViewContext
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
Object for pageview context sensitive information.
public class PageViewContext
- Inheritance
-
PageViewContext
- Inherited Members
Fields
settings
public Dictionary<string, object> settings
Field Value
Methods
GetValue(string)
Gets the value of the specified key in the context.
public object GetValue(string key)
Parameters
key
string- The key to return the value for.
Returns
- object
- The value stored on the key. Nothing if the key does not exist
SetValue(string, object)
Sets the value of an entry in the context.
public void SetValue(string key, object value)
Parameters
Remarks
If the passed key already exists, it is overriden with the new value