Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpApplicationStateBase::StaticObjects Property

 

When overridden in a derived class, gets all objects that are declared by an object element where the scope is set to "Application" in the ASP.NET application.

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

public:
property HttpStaticObjectsCollectionBase^ StaticObjects {
	virtual HttpStaticObjectsCollectionBase^ get();
}

Property Value

Type: System.Web::HttpStaticObjectsCollectionBase^

A collection of objects in the application.

Exception Condition
NotImplementedException

Always.

Application objects are defined in the Global.asax file inside an element with syntax like the following:

<object runat="server" scope="Application">Object information</object>

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft