HttpApplicationState.Contents プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > HttpApplicationState.Contents プロパティの意味・解説 

HttpApplicationState.Contents プロパティ

HttpApplicationState オブジェクトへの参照取得します

名前空間: System.Web
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As HttpApplicationState
Dim value As HttpApplicationState

value = instance.Contents
public HttpApplicationState Contents { get;
 }
public:
property HttpApplicationState^ Contents {
    HttpApplicationState^ get ();
}
/** @property */
public HttpApplicationState get_Contents ()
public function get Contents
 () : HttpApplicationState

プロパティ
HttpApplicationState オブジェクトへの参照

解説解説

このプロパティ指定すると、ASP の旧バージョンとの互換性を保つことができます

使用例使用例

アプリケーション状態コレクション内のオブジェクト名にアクセスするために使用される新しHttpApplicationState オブジェクト作成する例を次に示します

Dim AppState2 As HttpApplicationState
 
AppState2 = Application.Contents
 
Dim StateVars(AppState2.Count) As String
StateVars = AppState2.AllKeys

HttpApplicationState AppState2;
 
AppState2 = Application.Contents;
 
String[] StateVars = new String[AppState2.Count];
StateVars = AppState2.AllKeys;

HttpApplicationState AppState2;
AppState2 = get_Application().get_Contents();
String StateVars[] = new String[AppState2.get_Count()];
StateVars = AppState2.get_AllKeys();
var AppState2 : HttpApplicationState

AppState2 = Application.Contents

var StateVars : String[] = new String[AppState2.Count]
StateVars = AppState2.AllKeys

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
HttpApplicationState クラス
HttpApplicationState メンバ
System.Web 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

HttpApplicationState.Contents プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



HttpApplicationState.Contents プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS