HttpApplicationStateWrapper.StaticObjects Property

Definition

Gets all objects that are declared by an object element where the scope is set to "Application" in the ASP.NET application.

C#
public override System.Web.HttpStaticObjectsCollectionBase StaticObjects { get; }

Property Value

A collection of objects in the application.

Remarks

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

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

Applies to

Produto Versões
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1