HttpSessionStateContainer.StaticObjects プロパティ

定義

ASP.NET アプリケーションの Global.asax ファイルの <object Runat="Server" Scope="Session"/> タグで宣言されているオブジェクトのコレクションを取得します。

public:
 property System::Web::HttpStaticObjectsCollection ^ StaticObjects { System::Web::HttpStaticObjectsCollection ^ get(); };
public System.Web.HttpStaticObjectsCollection StaticObjects { get; }
member this.StaticObjects : System.Web.HttpStaticObjectsCollection
Public ReadOnly Property StaticObjects As HttpStaticObjectsCollection

プロパティ値

HttpStaticObjectsCollection

Global.asax ファイルで宣言されたオブジェクトが格納されている HttpStaticObjectsCollection

実装

注釈

ページ上のオブジェクトがシリアル化をサポートせず、 Mode アウトプロセス (SQLServer または StateServer) の場合、オブジェクトは作成されず、このコレクションには追加されません。

StaticObjects は、ASP の旧バージョンとの互換性のために提供されています。

適用対象

こちらもご覧ください