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

HttpCookiesSection クラス

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

Web アプリケーションによって使用される Cookieプロパティ構成します

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

Public NotInheritable Class
 HttpCookiesSection
    Inherits ConfigurationSection
Dim instance As HttpCookiesSection
public sealed class HttpCookiesSection : ConfigurationSection
public ref class HttpCookiesSection sealed
 : public ConfigurationSection
public final class HttpCookiesSection extends
 ConfigurationSection
public final class HttpCookiesSection extends
 ConfigurationSection
解説解説
使用例使用例

既存Web アプリケーション構成ファイルから HttpCookiesSection オブジェクト取得する方法次のコード例示します

' Get the Web application configuration.
Dim webConfig _
As System.Configuration.Configuration = _
WebConfigurationManager.OpenWebConfiguration("/aspnetTest")

' Get the section.
Dim configPath As String
 _
= "system.web/httpCookies"

Dim httpCookiesSection _
As System.Web.Configuration.HttpCookiesSection = _
CType(webConfig.GetSection(configPath), _
System.Web.Configuration.HttpCookiesSection)
           
    
// Get the Web application configuration.
System.Configuration.Configuration webConfig =
WebConfigurationManager.OpenWebConfiguration("/aspnetTest");


// Get the section.
string configPath = "system.web/httpCookies";
System.Web.Configuration.HttpCookiesSection httpCookiesSection =
(System.Web.Configuration.HttpCookiesSection)webConfig.GetSection(
configPath);

継承階層継承階層
System.Object
   System.Configuration.ConfigurationElement
     System.Configuration.ConfigurationSection
      System.Web.Configuration.HttpCookiesSection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「HttpCookiesSection クラス」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS