HttpContext.GetConfig メソッドとは? わかりやすく解説

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

HttpContext.GetConfig メソッド

メモ : このメソッドは、互換性のために残されています。

現在の HTTP 要求に対して要求された構成情報を返します。

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

<ObsoleteAttribute("The recommended alternative is System.Web.HttpContext.GetSection
 in System.Web.dll. http://go.microsoft.com/fwlink/?linkid=14202")>
 _
Public Function GetConfig ( _
    name As String _
) As Object
Dim instance As HttpContext
Dim name As String
Dim returnValue As Object

returnValue = instance.GetConfig(name)
[ObsoleteAttribute("The recommended alternative is System.Web.HttpContext.GetSection
 in System.Web.dll. http://go.microsoft.com/fwlink/?linkid=14202")]
 
public Object GetConfig (
    string name
)
[ObsoleteAttribute(L"The recommended alternative is System.Web.HttpContext.GetSection
 in System.Web.dll. http://go.microsoft.com/fwlink/?linkid=14202")]
 
public:
Object^ GetConfig (
    String^ name
)
/** @attribute ObsoleteAttribute("The recommended alternative is System.Web.HttpContext.GetSection
 in System.Web.dll. http://go.microsoft.com/fwlink/?linkid=14202")
 */ 
public Object GetConfig (
    String name
)
ObsoleteAttribute("The recommended alternative is System.Web.HttpContext.GetSection
 in System.Web.dll. http://go.microsoft.com/fwlink/?linkid=14202")
 
public function GetConfig (
    name : String
) : Object

パラメータ

name

情報が要求された構成タグ。

戻り値
指定した ConfigurationSection。このセクションが存在しない場合は null 参照 (Visual Basic の場合は Nothing)。このセクションに実行時にアクセスできない場合は内部オブジェクト。返されたオブジェクトは、適切な構成型にキャストしてから使用してください。

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

HttpContext.GetConfig メソッドのお隣キーワード

   

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



HttpContext.GetConfig メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS