SessionStateItemCollection クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SessionStateItemCollection クラスの意味・解説 

SessionStateItemCollection クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

セッション状態保存されているオブジェクトコレクションです。このクラス継承できません。

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

Public NotInheritable Class
 SessionStateItemCollection
    Inherits NameObjectCollectionBase
    Implements ISessionStateItemCollection, ICollection, IEnumerable
Dim instance As SessionStateItemCollection
public sealed class SessionStateItemCollection
 : NameObjectCollectionBase, ISessionStateItemCollection, ICollection, IEnumerable
public ref class SessionStateItemCollection
 sealed : public NameObjectCollectionBase, ISessionStateItemCollection,
 ICollection, IEnumerable
public final class SessionStateItemCollection
 extends NameObjectCollectionBase implements ISessionStateItemCollection, ICollection,
 
    IEnumerable
public final class SessionStateItemCollection
 extends NameObjectCollectionBase implements ISessionStateItemCollection,
 ICollection, 
    IEnumerable
解説解説
使用例使用例

SessionStateItemCollection オブジェクト新規作成しコレクション内の値を名前によって設定および取得するコード例次に示します

Dim items As SessionStateItemCollection = New
 SessionStateItemCollection()

items("LastName") = "Wilson"
items("FirstName") = "Dan"

For Each s As String
 In items.Keys
  Response.Write("items("""
 & s & """) = "
 & items(s).ToString() & "<BR>")
Next
SessionStateItemCollection items = new SessionStateItemCollection();

items["LastName"] = "Wilson";
items["FirstName"] = "Dan";

foreach (string s in items.Keys)
  Response.Write("items[\"" + s + "\"] = " + items[s].ToString()
 + "<BR>");
.NET Framework のセキュリティ.NET Frameworkセキュリティ
継承階層継承階層
System.Object
   System.Collections.Specialized.NameObjectCollectionBase
    System.Web.SessionState.SessionStateItemCollection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「SessionStateItemCollection クラス」の関連用語

SessionStateItemCollection クラスのお隣キーワード
検索ランキング

   

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



SessionStateItemCollection クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS