Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 virtual HttpStaticObjectsCollectionBase StaticObjects { get; }

Property Value

Type: System.Web.HttpStaticObjectsCollectionBase
A collection of objects in the application.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft