Page.Items Property


Gets a list of objects stored in the page context.

 property System::Collections::IDictionary ^ Items { System::Collections::IDictionary ^ get(); };
public System.Collections.IDictionary Items { get; }
member this.Items : System.Collections.IDictionary
Public ReadOnly Property Items As IDictionary

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.

Applies to