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 文件中声明的对象。

例外

适用于