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

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

ConfigurationSettings.GetConfig メソッド

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

渡される構成セクション名およびパスの ConfigurationSection オブジェクト返します

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

<ObsoleteAttribute("This method is obsolete, it has been replaced
 by System.Configuration!System.Configuration.ConfigurationManager.GetSection")>
 _
Public Shared Function GetConfig
 ( _
    sectionName As String _
) As Object
Dim sectionName As String
Dim returnValue As Object

returnValue = ConfigurationSettings.GetConfig(sectionName)
[ObsoleteAttribute("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection")]
 
public static Object GetConfig (
    string sectionName
)
[ObsoleteAttribute(L"This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection")]
 
public:
static Object^ GetConfig (
    String^ sectionName
)
/** @attribute ObsoleteAttribute("This method is obsolete, it has been replaced
 by System.Configuration!System.Configuration.ConfigurationManager.GetSection")
 */ 
public static Object GetConfig (
    String sectionName
)
ObsoleteAttribute("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection")
 
public static function GetConfig
 (
    sectionName : String
) : Object

パラメータ

sectionName

"system.net/settings" などの、構成名およびパス

戻り値
渡される構成セクション名およびパスConfigurationSection オブジェクト

メモメモ

ConfigurationSettings クラスは、下位互換性のみを提供します代わりにConfigurationManager クラスまたは WebConfigurationManager クラス使用する必要があります

例外例外
例外種類条件

ConfigurationException

要求されセクション取得できません。

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


このページでは「.NET Framework クラス ライブラリ リファレンス」からConfigurationSettings.GetConfig メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からConfigurationSettings.GetConfig メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からConfigurationSettings.GetConfig メソッド を検索

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

辞書ショートカット

すべての辞書の索引

ConfigurationSettings.GetConfig メソッドのお隣キーワード
検索ランキング

   

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



ConfigurationSettings.GetConfig メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS