Edit

Bagikan melalui


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.

public:
 virtual property System::Web::HttpStaticObjectsCollectionBase ^ StaticObjects { System::Web::HttpStaticObjectsCollectionBase ^ get(); };
public override System.Web.HttpStaticObjectsCollectionBase StaticObjects { get; }
member this.StaticObjects : System.Web.HttpStaticObjectsCollectionBase
Public Overrides ReadOnly Property StaticObjects As HttpStaticObjectsCollectionBase

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