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)

'Declaration
Public Overrides ReadOnly Property PageData As IDictionary(Of Object, Object)
	Get
'Usage
Dim instance As WebPageBase 
Dim value As IDictionary(Of Object, Object)

value = instance.PageData

Property Value

Type: System.Collections.Generic.IDictionary(Of 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.

Show: