HttpApplicationStateBase.StaticObjects Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
virtual property System::Web::HttpStaticObjectsCollectionBase ^ StaticObjects { System::Web::HttpStaticObjectsCollectionBase ^ get(); };
public virtual System.Web.HttpStaticObjectsCollectionBase StaticObjects { get; }
member this.StaticObjects : System.Web.HttpStaticObjectsCollectionBase
Public Overridable ReadOnly Property StaticObjects As HttpStaticObjectsCollectionBase
Property Value
A collection of objects in the application.
Exceptions
Always.
Remarks
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>
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für