HttpApplicationStateBase.StaticObjects Propriedade
Definição
Quando substituída em uma classe derivada, obtém todos os objetos que são declarados por um elemento object em que o escopo é definido como "Application" no aplicativo ASP.NET.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
Valor da propriedade
Uma coleção de objetos no aplicativo.A collection of objects in the application.
Exceções
Sempre.Always.
Comentários
Os objetos de aplicativo são definidos no arquivo global. asax dentro de um elemento com sintaxe semelhante à seguinte: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>