ConfigurationSectionGroup.Sections プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ConfigurationSectionGroup.Sections プロパティの意味・解説 

ConfigurationSectionGroup.Sections プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

この ConfigurationSectionGroup 内のすべての ConfigurationSection オブジェクト格納している ConfigurationSectionCollection を取得します

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

Public ReadOnly Property
 Sections As ConfigurationSectionCollection
Dim instance As ConfigurationSectionGroup
Dim value As ConfigurationSectionCollection

value = instance.Sections
public ConfigurationSectionCollection Sections { get;
 }
public:
property ConfigurationSectionCollection^ Sections {
    ConfigurationSectionCollection^ get ();
}
/** @property */
public ConfigurationSectionCollection get_Sections ()
public function get Sections
 () : ConfigurationSectionCollection

プロパティ
この ConfigurationSectionGroup 内のすべての ConfigurationSection オブジェクト格納している ConfigurationSectionCollection

使用例使用例

Sections プロパティへのアクセス方法次のコード例示します

Dim sectionCollection _
As ConfigurationSectionCollection = _
sectionGroup.Sections
Dim sectionName As String
For Each sectionName In
 sectionCollection.Keys
    Dim section As ConfigurationSection = _
    CType(sectionCollection( _
    sectionName), ConfigurationSection)
    Console.WriteLine((getSpacer() + _
    "Section Name:" + _
    section.SectionInformation.Name))
Next sectionName
ConfigurationSectionCollection sectionCollection = 
    sectionGroup.Sections;
foreach (String sectionName in sectionCollection.Keys)
{
    ConfigurationSection section = 
        (ConfigurationSection)sectionCollection[sectionName];
    Console.WriteLine(getSpacer() + "Section Name:" 
        + section.SectionInformation.Name);
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ConfigurationSectionGroup クラス
ConfigurationSectionGroup メンバ
System.Configuration 名前空間
ConfigurationSectionGroup クラス
ConfigurationSectionCollection クラス
ConfigurationSection クラス


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

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

辞書ショートカット

すべての辞書の索引

ConfigurationSectionGroup.Sections プロパティのお隣キーワード
検索ランキング

   

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



ConfigurationSectionGroup.Sections プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS