WebPageBase.PageData Property

Provides array-like access to page data that is shared between pages, layout pages, and partial pages.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public override IDictionary<Object, Object> PageData { get; }

Property Value

Type: System.Collections.Generic.IDictionary<Object, Object>
A dictionary that contains page data.

You can access data in the PageData property by index or key (for example, PageData[1] or PageData["FavoriteColor"]). This property accesses the same data as the Page property, except that it lets you access it using array-like syntax.