Table of Contents

Class PageViewContext

Namespace
Dynamicweb.Frontend
Assembly
Dynamicweb.dll

Object for pageview context sensitive information.

public class PageViewContext
Inheritance
PageViewContext
Inherited Members

Properties

settings

public Dictionary<string, object> settings { get; set; }

Property Value

Dictionary<string, object>

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

key string

The key to store the value in.

value object

The value to be stored.

Remarks

If the passed key already exists, it is overriden with the new value

To top