편집

다음을 통해 공유


Page.Items Property

Definition

Gets a list of objects stored in the page context.

public:
 property System::Collections::IDictionary ^ Items { System::Collections::IDictionary ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Collections.IDictionary Items { get; }
[<System.ComponentModel.Browsable(false)>]
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.

Attributes

Remarks

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