Export (0) Print
Expand All

Page.Items Property

Gets a list of objects stored in the page context.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

public:
property IDictionary^ Items {
	IDictionary^ get ();
}
/** @property */
public IDictionary get_Items ()

public function get Items () : IDictionary

Not applicable.

Property Value

A reference to an IDictionary containing objects stored in the page context.

Use the Items property to store objects with the same lifetime as the page request. This property is read-only; however, you can add objects to the IDictionary object it returns.

Objects added to the Items property are available throughout the lifetime of the page, so you can add objects to the Items property in events early in the page life cycle and access those objects in later events.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft