共用方式為


HttpApplicationStateWrapper.StaticObjects 屬性

定義

取得 object 項目宣告的所有物件,其中範圍在 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

屬性值

應用程式中物件的集合。

備註

應用程式物件定義于元素內的 Global.asax 檔案中,其語法如下:

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

適用於