ConfigurationPropertyCollectionとは? わかりやすく解説

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

ConfigurationPropertyCollection クラス

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

構成要素プロパティコレクション表します

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

Public Class ConfigurationPropertyCollection
    Implements ICollection, IEnumerable
Dim instance As ConfigurationPropertyCollection
public class ConfigurationPropertyCollection
 : ICollection, IEnumerable
public ref class ConfigurationPropertyCollection
 : ICollection, IEnumerable
public class ConfigurationPropertyCollection
 implements ICollection, IEnumerable
public class ConfigurationPropertyCollection
 implements ICollection, IEnumerable
解説解説

ConfigurationPropertyCollection クラスは、構成要素属性または ConfigurationElement オブジェクトとなる、ConfigurationProperty オブジェクトコレクション表します

ConfigurationProperty クラスは、個々構成設定表します。このクラス使用すると、特定の構成エンティティ (属性または要素) の名前、型、および既定値取得または設定を行うことができます追加オプション使用すると、属性必須かどうか属性要素キーであるかどうか、または属性既定要素コレクションを表すかどうか指定できます

使用例使用例

ConfigurationPropertyCollection使用例次に示します関連する型である ConfigurationProperty の例を参照してください

' Return the initialized property bag
' for the configuration element.
' The collection (property bag) that contains 
' the properties is declared as:
' ConfigurationPropertyCollection _Properties;

  Protected Overrides ReadOnly
 Property Properties() _
  As ConfigurationPropertyCollection
      Get
          Return _Properties
      End Get
  End Property

// Return the initialized property bag
// for the configuration element.
// The collection (property bag) that contains 
// the properties is declared as:
// ConfigurationPropertyCollection _Properties;
protected override ConfigurationPropertyCollection Properties
{
    get
    {
        return _Properties;
    }
}

上記の例で使用した構成抜粋次に示します

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="CustomSection" type="Samples.AspNet, ConfigurationProperty,
 Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" allowDefinition="Everywhere"
 allowExeDefinition="MachineToApplication" restartOnExternalChanges="true" />
    </configSections>
    <CustomSection fileName="default.txt" alias="alias.txt" maxUsers="1000"
      maxIdleTime="00:05:00" />
</configuration>
継承階層継承階層
System.Object
  System.Configuration.ConfigurationPropertyCollection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ConfigurationPropertyCollection メンバ
System.Configuration 名前空間
ConfigurationProperty クラス
ConfigurationSection
ElementInformation
ConfigurationElementCollection クラス
ConfigurationElementCollectionType 列挙
ConfigurationElement クラス
ConfigurationSection

ConfigurationPropertyCollection コンストラクタ

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

ConfigurationPropertyCollection の新しインスタンス作成します

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

Dim instance As New ConfigurationPropertyCollection
public ConfigurationPropertyCollection ()
public:
ConfigurationPropertyCollection ()
public ConfigurationPropertyCollection ()
public function ConfigurationPropertyCollection
 ()
解説解説

構成要素適用する ConfigurationProperty オブジェクト格納する新しコレクション作成するには、ConfigurationPropertyCollection使用します

使用例使用例

ConfigurationPropertyCollection コンストラクタ使用する例を次に示します

' Property collection initialization.
' The collection (property bag) that contains 
' the properties is declared as:
' ConfigurationPropertyCollection _Properties;
_Properties = New ConfigurationPropertyCollection()
// Property collection initialization.
// The collection (property bag) that contains 
// the properties is declared as:
// ConfigurationPropertyCollection _Properties;
_Properties =
    new ConfigurationPropertyCollection();
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ConfigurationPropertyCollection クラス
ConfigurationPropertyCollection メンバ
System.Configuration 名前空間
ConfigurationProperty クラス
ConfigurationSection
ElementInformation
ConfigurationElementCollection クラス
ConfigurationElementCollectionType 列挙
ConfigurationElement クラス
ConfigurationSection

ConfigurationPropertyCollection プロパティ


パブリック プロパティパブリック プロパティ

参照参照

関連項目

ConfigurationPropertyCollection クラス
System.Configuration 名前空間
ConfigurationProperty クラス
ConfigurationSection
ElementInformation
ConfigurationElementCollection クラス
ConfigurationElementCollectionType 列挙
ConfigurationElement クラス
ConfigurationSection

ConfigurationPropertyCollection メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
明示的インターフェイスの実装明示的インターフェイス実装
  名前 説明
インターフェイスの明示的な実装 System.Collections.ICollection.CopyTo このコレクション配列コピーします
参照参照

関連項目

ConfigurationPropertyCollection クラス
System.Configuration 名前空間
ConfigurationProperty クラス
ConfigurationSection
ElementInformation
ConfigurationElementCollection クラス
ConfigurationElementCollectionType 列挙
ConfigurationElement クラス
ConfigurationSection

ConfigurationPropertyCollection メンバ

構成要素プロパティコレクション表します

ConfigurationPropertyCollection データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド ConfigurationPropertyCollection ConfigurationPropertyCollection の新しインスタンス作成します
パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
明示的インターフェイスの実装明示的インターフェイス実装
  名前 説明
インターフェイスの明示的な実装 System.Collections.ICollection.CopyTo このコレクション配列コピーします
参照参照

関連項目

ConfigurationPropertyCollection クラス
System.Configuration 名前空間
ConfigurationProperty クラス
ConfigurationSection
ElementInformation
ConfigurationElementCollection クラス
ConfigurationElementCollectionType 列挙
ConfigurationElement クラス
ConfigurationSection


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

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

辞書ショートカット

すべての辞書の索引

「ConfigurationPropertyCollection」の関連用語

ConfigurationPropertyCollectionのお隣キーワード
検索ランキング

   

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



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

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

©2025 GRAS Group, Inc.RSS