Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

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.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.