ConfigurationSettings.GetConfig(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection
渡された構成セクションの名前とパスの ConfigurationSection オブジェクトを返します。
public:
static System::Object ^ GetConfig(System::String ^ sectionName);
public static object GetConfig(string sectionName);
[System.Obsolete("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection")]
public static object GetConfig(string sectionName);
static member GetConfig : string -> obj
[<System.Obsolete("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.GetSection")>]
static member GetConfig : string -> obj
Public Shared Function GetConfig (sectionName As String) As Object
パラメーター
- sectionName
- String
構成名とパス ("system.net/settings" など)。
返品
渡された構成セクションの名前とパスの ConfigurationSection オブジェクト。
- 属性
例外
要求されたセクションを取得できません。
注釈
このメソッドは古く、旧バージョンとの互換性のために保持されています。 代わりに ConfigurationManager.GetSection(String) メソッドを使用してください。