Share via


HelperPage.App Property

Gets the application-state data as a DynamicObject object that callers can use to create and access custom application-scoped properties.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Shared ReadOnly Property App As Object 
    Get
'Usage
Dim value As Object 

value = HelperPage.App
public static Object App { get; }
public:
static property Object^ App {
    Object^ get ();
}
static member App : Object
static function get App () : Object

Property Value

Type: System.Object
The application-state data.

Remarks

By default, the object in the App property is the value of the AppState property, cast as an object of type DynamicObject. Because the App property returns a dynamic object, you can create and access custom application-scoped properties and then share access to those properties across all pages and sessions in a web application.

See Also

Reference

HelperPage Class

System.Web.WebPages Namespace