共用方式為


HttpSessionStateBase.StaticObjects 屬性

定義

在衍生類別中覆寫時,取得由 object 項目宣告的物件集合,這些項目會標示為伺服器控制項,並規範在應用程式 Global.asax 檔案中目前的工作階段內。

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

屬性值

HttpStaticObjectsCollectionBase

在Global.asax 檔中宣告的物件。

例外狀況

適用於