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

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

RootProfilePropertySettingsCollection クラス

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

ProfilePropertySettingsCollection コレクションの名前付き 2 階層構造の上位層として機能します。

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

Public NotInheritable Class
 RootProfilePropertySettingsCollection
    Inherits ProfilePropertySettingsCollection
Dim instance As RootProfilePropertySettingsCollection
public sealed class RootProfilePropertySettingsCollection
 : ProfilePropertySettingsCollection
public ref class RootProfilePropertySettingsCollection
 sealed : public ProfilePropertySettingsCollection
public final class RootProfilePropertySettingsCollection
 extends ProfilePropertySettingsCollection
public final class RootProfilePropertySettingsCollection
 extends ProfilePropertySettingsCollection
解説解説

RootProfilePropertySettingsCollection クラスは、ルート レベルの ProfilePropertySettingsCollection コレクションであり、ProfileGroupSettingsCollection コレクションのコンテナでもあります。このようなコレクションを使用すると、さらに多くの ProfilePropertySettingsCollection コレクションの名前付きグループを作成し、それぞれに個別の名前付き ProfilePropertySettings オブジェクトを格納できます。ASP.NET 2.0 に追加されたプロファイル機能の詳細については、「ASP.NET プロファイル プロパティ」を参照してください。

PropertySettings プロパティは、構成ファイルの profile セクションの properties サブセクションに定義されているすべてのプロパティを格納する RootProfilePropertySettingsCollection オブジェクトです。

使用例使用例

RootProfilePropertySettingsCollection 型を ProfileSection クラスの PropertySettings プロパティとして使用する方法を次のコード例に示します。このコード例は、ProfileSection クラスのトピックで取り上げているコード例の一部分です。


' Display all current root ProfilePropertySettings.
Console.WriteLine("Current Root ProfilePropertySettings:")
Dim rootPPSCtr As Integer
 = 0
For Each rootPPS As ProfilePropertySettings
 In profileSection.PropertySettings
    Console.WriteLine("  {0}: ProfilePropertySetting '{1}'",
 ++rootPPSCtr, _
        rootPPS.Name)
Next

' Get and modify a root ProfilePropertySettings object.
Console.WriteLine( _
    "Display and modify 'LastReadDate' ProfilePropertySettings:")
Dim profilePropertySettings As ProfilePropertySettings
 = _
    profileSection.PropertySettings("LastReadDate")

' Get the current ReadOnly property value.
Console.WriteLine( _
    "Current ReadOnly value: '{0}'", profilePropertySettings.ReadOnly)

' Set the ReadOnly property to true.
profilePropertySettings.ReadOnly = true

' Get the current AllowAnonymous property value.
Console.WriteLine( _
    "Current AllowAnonymous value: '{0}'", profilePropertySettings.AllowAnonymous)

' Set the AllowAnonymous property to true.
profilePropertySettings.AllowAnonymous = true

' Get the current SerializeAs property value.
Console.WriteLine( _
    "Current SerializeAs value: '{0}'", profilePropertySettings.SerializeAs)

' Set the SerializeAs property to SerializationMode.Binary.
profilePropertySettings.SerializeAs = SerializationMode.Binary

' Get the current Type property value.
Console.WriteLine( _
    "Current Type value: '{0}'", profilePropertySettings.Type)

' Set the Type property to "System.DateTime".
profilePropertySettings.Type = "System.DateTime"

' Get the current DefaultValue property value.
Console.WriteLine( _
    "Current DefaultValue value: '{0}'", profilePropertySettings.DefaultValue)

' Set the DefaultValue property to "March 16, 2004".
profilePropertySettings.DefaultValue = "March 16, 2004"

' Get the current ProviderName property value.
            Console.WriteLine( _
                "Current ProviderName value: '{0}'", profilePropertySettings.Provider)

' Set the ProviderName property to "AspNetSqlRoleProvider".
            profilePropertySettings.Provider = "AspNetSqlRoleProvider"

' Get the current Name property value.
Console.WriteLine( _
    "Current Name value: '{0}'", profilePropertySettings.Name)

' Set the Name property to "LastAccessDate".
profilePropertySettings.Name = "LastAccessDate"

' Display all current ProfileGroupSettings.
Console.WriteLine("Current ProfileGroupSettings:")
Dim PGSCtr As Integer =
 0
For Each propGroups As ProfileGroupSettings
 In profileSection.PropertySettings.GroupSettings
                    Console.WriteLine("  {0}: ProfileGroupSettings '{1}'",
 ++PGSCtr, _
        propGroups.Name)
    Dim PPSCtr As Integer
 = 0
    For Each props As ProfilePropertySettings
 In propGroups.PropertySettings
        Console.WriteLine("    {0}: ProfilePropertySetting '{1}'",
 ++PPSCtr, _
            props.Name)
    Next
Next

' Add a new group.
Dim newPropGroup As ProfileGroupSettings =
 new ProfileGroupSettings("Forum")
profileSection.PropertySettings.GroupSettings.Add(newPropGroup)

' Add a new PropertySettings to the group.
Dim newProp As ProfilePropertySettings = new
 ProfilePropertySettings("AvatarImage")
newProp.Type = "System.String, System.dll"
newPropGroup.PropertySettings.Add(newProp)

' Remove a PropertySettings from the group.
newPropGroup.PropertySettings.Remove("AvatarImage")
newPropGroup.PropertySettings.RemoveAt(0)

' Clear all PropertySettings from the group.
newPropGroup.PropertySettings.Clear()

// Display all current root ProfilePropertySettings.
Console.WriteLine("Current Root ProfilePropertySettings:");
int rootPPSCtr = 0;
foreach (ProfilePropertySettings rootPPS in
 profileSection.PropertySettings)
{
    Console.WriteLine("  {0}: ProfilePropertySetting '{1}'", ++rootPPSCtr
,
        rootPPS.Name);
}

// Get and modify a root ProfilePropertySettings object.
Console.WriteLine(
    "Display and modify 'LastReadDate' ProfilePropertySettings:");
ProfilePropertySettings profilePropertySettings =
    profileSection.PropertySettings["LastReadDate"];

// Get the current ReadOnly property value.
Console.WriteLine(
    "Current ReadOnly value: '{0}'", profilePropertySettings.ReadOnly);

// Set the ReadOnly property to true.
profilePropertySettings.ReadOnly = true;

// Get the current AllowAnonymous property value.
Console.WriteLine(
    "Current AllowAnonymous value: '{0}'", profilePropertySettings.AllowAnonymous);

// Set the AllowAnonymous property to true.
profilePropertySettings.AllowAnonymous = true;

// Get the current SerializeAs property value.
Console.WriteLine(
    "Current SerializeAs value: '{0}'", profilePropertySettings.SerializeAs);

// Set the SerializeAs property to SerializationMode.Binary.
profilePropertySettings.SerializeAs = SerializationMode.Binary;

// Get the current Type property value.
Console.WriteLine(
    "Current Type value: '{0}'", profilePropertySettings.Type);

// Set the Type property to "System.DateTime".
profilePropertySettings.Type = "System.DateTime";

// Get the current DefaultValue property value.
Console.WriteLine(
    "Current DefaultValue value: '{0}'", profilePropertySettings.DefaultValue);

// Set the DefaultValue property to "March 16, 2004".
profilePropertySettings.DefaultValue = "March 16, 2004";

// Get the current ProviderName property value.
Console.WriteLine(
    "Current ProviderName value: '{0}'", profilePropertySettings.Provider);

// Set the ProviderName property to "AspNetSqlRoleProvider".
profilePropertySettings.Provider = "AspNetSqlRoleProvider";

// Get the current Name property value.
Console.WriteLine(
    "Current Name value: '{0}'", profilePropertySettings.Name);

// Set the Name property to "LastAccessDate".
profilePropertySettings.Name = "LastAccessDate";

// Display all current ProfileGroupSettings.
Console.WriteLine("Current ProfileGroupSettings:");
int PGSCtr = 0;
foreach (ProfileGroupSettings propGroups in
 profileSection.PropertySettings.GroupSettings)
{
    Console.WriteLine("  {0}: ProfileGroupSetting '{1}'", ++PGSCtr,
        propGroups.Name);
    int PPSCtr = 0;
    foreach (ProfilePropertySettings props in
 propGroups.PropertySettings)
    {
        Console.WriteLine("    {0}: ProfilePropertySetting '{1}'", ++PPSCtr
,
            props.Name);
    }
}

// Add a new group.
ProfileGroupSettings newPropGroup = new ProfileGroupSettings("Forum");
profileSection.PropertySettings.GroupSettings.Add(newPropGroup);

// Add a new PropertySettings to the group.
ProfilePropertySettings newProp = new ProfilePropertySettings("AvatarImage");
newProp.Type = "System.String, System.dll";
newPropGroup.PropertySettings.Add(newProp);

// Remove a PropertySettings from the group.
newPropGroup.PropertySettings.Remove("AvatarImage");
newPropGroup.PropertySettings.RemoveAt(0);

// Clear all PropertySettings from the group.
newPropGroup.PropertySettings.Clear();

継承階層継承階層
System.Object
   System.Configuration.ConfigurationElement
     System.Configuration.ConfigurationElementCollection
       System.Web.Configuration.ProfilePropertySettingsCollection
        System.Web.Configuration.RootProfilePropertySettingsCollection
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RootProfilePropertySettingsCollection メンバ
System.Web.Configuration 名前空間
ProfileSection クラス
ProfileSection.PropertySettings プロパティ
ProfileGroupSettingsCollection クラス
その他の技術情報
profile 要素 (ASP.NET 設定スキーマ)

RootProfilePropertySettingsCollection コンストラクタ

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

既定の設定を使用して RootProfilePropertySettingsCollection クラスの新しいインスタンスを初期化します。

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

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

RootProfilePropertySettingsCollection プロパティは、構成ファイルの profile セクションの properties サブセクションに定義されているすべてのプロパティを格納する RootProfilePropertySettingsCollection オブジェクトです。

このコンストラクタに使用される既定の設定を次の表に示します。

設定

既定値

AllowClear

True.

GroupSettings

空の ProfileGroupSettingsCollection。

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

RootProfilePropertySettingsCollection プロパティ


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

( プロテクト プロパティ も参照)
  名前 説明
パブリック プロパティ AllKeys  コレクションに格納されているすべての ProfileSection オブジェクトの名前を格納する配列を返します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック プロパティ CollectionType  ConfigurationElementCollection の型を取得します。 ( ConfigurationElementCollection から継承されます。)
パブリック プロパティ Count  コレクション内の要素の数を取得します。 ( ConfigurationElementCollection から継承されます。)
パブリック プロパティ ElementInformation  ConfigurationElement オブジェクトのカスタマイズできない情報と機能を格納する ElementInformation オブジェクトを取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ EmitClear  コレクションが削除されているかどうかを指定します。 ( ConfigurationElementCollection から継承されます。)
パブリック プロパティ GroupSettings ProfileGroupSettings オブジェクトのコレクションが格納された ProfileGroupSettingsCollection を取得します。
パブリック プロパティ IsSynchronized  コレクションへのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。)
パブリック プロパティ Item  オーバーロードされます。 指定した ProfilePropertySettings オブジェクトを取得または設定します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック プロパティ LockAllAttributesExcept  ロックされている属性のコレクションを取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ LockAllElementsExcept  ロックされている要素のコレクションを取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ LockAttributes  ロックされている属性のコレクションを取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ LockElements  ロックされている要素のコレクションを取得します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ LockItem  要素がロックされているかどうかを示す値を取得または設定します。 ( ConfigurationElement から継承されます。)
パブリック プロパティ SyncRoot  ConfigurationElementCollection へのアクセスを同期するために使用するオブジェクトを取得します。 ( ConfigurationElementCollection から継承されます。)
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ AddElementName  派生クラスでオーバーライドされると、ConfigurationElementCollection での追加操作に関連付ける ConfigurationElement の名前を取得または設定します。 ( ConfigurationElementCollection から継承されます。)
プロテクト プロパティ ClearElementName  派生クラスでオーバーライドされると、ConfigurationElementCollection での消去操作に関連付ける ConfigurationElement の名前を取得または設定します。 ( ConfigurationElementCollection から継承されます。)
プロテクト プロパティ ElementName  派生クラスでオーバーライドされると、構成ファイル内のこの要素のコレクションを識別するために使用する名前を取得します。 ( ConfigurationElementCollection から継承されます。)
プロテクト プロパティ ElementProperty  ConfigurationElement オブジェクト自体を表す ConfigurationElementProperty オブジェクトを取得します。 ( ConfigurationElement から継承されます。)
プロテクト プロパティ EvaluationContext  ConfigurationElement オブジェクトの ContextInformation オブジェクトを取得します。 ( ConfigurationElement から継承されます。)
プロテクト プロパティ Item  オーバーロードされます。 指定した ProfilePropertySettings オブジェクトを取得または設定します。 ( ProfilePropertySettingsCollection から継承されます。)
プロテクト プロパティ Properties  プロパティのコレクションを取得します。 ( ConfigurationElement から継承されます。)
プロテクト プロパティ RemoveElementName  派生クラスでオーバーライドされると、ConfigurationElementCollection での削除操作に関連付ける ConfigurationElement の名前を取得または設定します。 ( ConfigurationElementCollection から継承されます。)
プロテクト プロパティ ThrowOnDuplicate  重複する ConfigurationElement を ConfigurationElementCollection に追加しようとしたときに、例外をスローするかどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。)
参照参照

関連項目

RootProfilePropertySettingsCollection クラス
System.Web.Configuration 名前空間
ProfileSection クラス
ProfileSection.PropertySettings プロパティ
ProfileGroupSettingsCollection クラス

その他の技術情報

profile 要素 (ASP.NET 設定スキーマ)

RootProfilePropertySettingsCollection メソッド


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

( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド Add  ProfilePropertySettings オブジェクトをコレクションに追加します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド Clear  コレクションからすべての ProfilePropertySettings オブジェクトを削除します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド CopyTo  ConfigurationElementCollection の内容を配列にコピーします。 ( ConfigurationElementCollection から継承されます。)
パブリック メソッド Equals オーバーロードされます。 オーバーライドされます。  
パブリック メソッド Get  オーバーロードされます。 ProfileSection オブジェクトを返します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド GetEnumerator  ConfigurationElementCollection の反復処理に使用する IEnumerator を取得します。 ( ConfigurationElementCollection から継承されます。)
パブリック メソッド GetHashCode オーバーライドされます。 コレクションのハッシュ コードを生成します。
パブリック メソッド GetKey  指定したインデックス位置にある ProfilePropertySettings の名前を取得または設定します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 ( Object から継承されます。)
パブリック メソッド IndexOf  指定した ProfilePropertySettings オブジェクトのインデックスを返します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド IsReadOnly  ConfigurationElementCollection オブジェクトが読み取り専用かどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。)
パブリック メソッド Remove  ProfilePropertySettings オブジェクトをコレクションから削除します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド RemoveAt  指定したインデックス位置にある ProfilePropertySettings オブジェクトをコレクションから削除します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド Set  指定した ProfilePropertySettings オブジェクトをコレクションに追加します。 ( ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド ToString  現在の Object を表す String を返します。 ( Object から継承されます。)
プロテクト メソッドプロテクト メソッド
  名前 説明
プロテクト メソッド BaseAdd  オーバーロードされます。 派生クラスでオーバーライドされると、ConfigurationElement を ConfigurationElementCollection インスタンスに追加します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseClear  コレクションからすべての構成要素オブジェクトを削除します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseGet  オーバーロードされます。 指定したインデックス位置にある ConfigurationElement を取得します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseGetAllKeys  ConfigurationElementCollection に格納されているすべての構成要素のキーの配列を返します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseGetKey  指定したインデックス位置にある ConfigurationElement のキーを取得します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseIndexOf  指定した ConfigurationElement のインデックス。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseIsRemoved  指定したキーを持つ ConfigurationElement が ConfigurationElementCollection から削除されているかどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseRemove  ConfigurationElement をコレクションから削除します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseRemoveAt  指定したインデックス位置にある ConfigurationElement を削除します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド CreateNewElement  オーバーロードされます。 派生クラスでオーバーライドされると、新しい ConfigurationElement を作成します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド DeserializeElement  構成ファイルから XML を読み取ります。 ( ConfigurationElement から継承されます。)
プロテクト メソッド Finalize  Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。)
プロテクト メソッド GetElementKey  派生クラスでオーバーライドされると、指定した構成要素の要素キーを取得します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド Init  ConfigurationElement オブジェクトを初期状態に設定します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド InitializeDefault  ConfigurationElement オブジェクトの既定の値セットを初期化するために使用します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド IsElementName  指定した ConfigurationElement が ConfigurationElementCollection に存在するかどうかを示します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド IsElementRemovable  指定した ConfigurationElement を ConfigurationElementCollection から削除できるかどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド IsModified  派生クラスでオーバーライドされると、この ConfigurationElementCollection が最後に保存された後または読み込まれた後に、変更されているかどうかを示します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド ListErrors  この ConfigurationElement オブジェクトおよびすべてのサブ要素の無効なプロパティのエラーを、渡されたリストに追加します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド MemberwiseClone  現在の Object の簡易コピーを作成します。 ( Object から継承されます。)
プロテクト メソッド OnDeserializeUnrecognizedAttribute  逆シリカル化中に不明な属性が発生したかどうかを示す値を取得します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド OnDeserializeUnrecognizedElement  構成システムが例外をスローするようにします。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド OnRequiredPropertyNotFound  必須プロパティが見つからなかったかどうかを示す値を取得します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド PostDeserialize  逆シリアル化後に呼び出されます。 ( ConfigurationElement から継承されます。)
プロテクト メソッド PreSerialize  シリアル化前に呼び出されます。 ( ConfigurationElement から継承されます。)
プロテクト メソッド Reset  派生クラスでオーバーライドされると、ConfigurationElementCollection を変更されていない状態にリセットします。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド ResetModified  派生クラスでオーバーライドされると、IsModified プロパティの値を false にリセットします。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド SerializeElement  派生クラスでオーバーライドされると、構成データを構成ファイルの XML 要素に書き込みます。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド SerializeToXmlElement  派生クラスに実装されている場合、この構成要素の外側のタグを構成ファイルに書き込みます。 ( ConfigurationElement から継承されます。)
プロテクト メソッド SetPropertyValue  プロパティを指定した値に設定します。 ( ConfigurationElement から継承されます。)
プロテクト メソッド SetReadOnly  ConfigurationElementCollection オブジェクトとすべてのサブ要素の IsReadOnly プロパティを設定します。 ( ConfigurationElementCollection から継承されます。)
プロテクト メソッド Unmerge  構成階層の異なるレベルの構成情報をマージした効果を反転させます。 ( ConfigurationElementCollection から継承されます。)
参照参照

関連項目

RootProfilePropertySettingsCollection クラス
System.Web.Configuration 名前空間
ProfileSection クラス
ProfileSection.PropertySettings プロパティ
ProfileGroupSettingsCollection クラス

その他の技術情報

profile 要素 (ASP.NET 設定スキーマ)

RootProfilePropertySettingsCollection メンバ

ProfilePropertySettingsCollection コレクションの名前付き 2 階層構造の上位層として機能します。

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


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド RootProfilePropertySettingsCollection 既定の設定を使用して RootProfilePropertySettingsCollection クラスの新しいインスタンスを初期化します。
パブリック プロパティパブリック プロパティ
( プロテクト プロパティ も参照)
  名前 説明
パブリック プロパティ AllKeys  コレクションに格納されているすべての ProfileSection オブジェクトの名前を格納する配列を返します。(ProfilePropertySettingsCollection から継承されます。)
パブリック プロパティ CollectionType  ConfigurationElementCollection の型を取得します。(ConfigurationElementCollection から継承されます。)
パブリック プロパティ Count  コレクション内の要素の数を取得します。(ConfigurationElementCollection から継承されます。)
パブリック プロパティ ElementInformation  ConfigurationElement オブジェクトのカスタマイズできない情報と機能を格納する ElementInformation オブジェクトを取得します。 (ConfigurationElement から継承されます。)
パブリック プロパティ EmitClear  コレクションが削除されているかどうかを指定します。(ConfigurationElementCollection から継承されます。)
パブリック プロパティ GroupSettings ProfileGroupSettings オブジェクトのコレクションが格納された ProfileGroupSettingsCollection を取得します。
パブリック プロパティ IsSynchronized  コレクションへのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。(ConfigurationElementCollection から継承されます。)
パブリック プロパティ Item  オーバーロードされます。 指定した ProfilePropertySettings オブジェクトを取得または設定します。(ProfilePropertySettingsCollection から継承されます。)
パブリック プロパティ LockAllAttributesExcept  ロックされている属性のコレクションを取得します。(ConfigurationElement から継承されます。)
パブリック プロパティ LockAllElementsExcept  ロックされている要素のコレクションを取得します。(ConfigurationElement から継承されます。)
パブリック プロパティ LockAttributes  ロックされている属性のコレクションを取得します。 (ConfigurationElement から継承されます。)
パブリック プロパティ LockElements  ロックされている要素のコレクションを取得します。(ConfigurationElement から継承されます。)
パブリック プロパティ LockItem  要素がロックされているかどうかを示す値を取得または設定します。(ConfigurationElement から継承されます。)
パブリック プロパティ SyncRoot  ConfigurationElementCollection へのアクセスを同期するために使用するオブジェクトを取得します。(ConfigurationElementCollection から継承されます。)
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ AddElementName  派生クラスでオーバーライドされると、ConfigurationElementCollection での追加操作に関連付ける ConfigurationElement の名前を取得または設定します。 (ConfigurationElementCollection から継承されます。)
プロテクト プロパティ ClearElementName  派生クラスでオーバーライドされると、ConfigurationElementCollection での消去操作に関連付ける ConfigurationElement の名前を取得または設定します。 (ConfigurationElementCollection から継承されます。)
プロテクト プロパティ ElementName  派生クラスでオーバーライドされると、構成ファイル内のこの要素のコレクションを識別するために使用する名前を取得します。(ConfigurationElementCollection から継承されます。)
プロテクト プロパティ ElementProperty  ConfigurationElement オブジェクト自体を表す ConfigurationElementProperty オブジェクトを取得します。(ConfigurationElement から継承されます。)
プロテクト プロパティ EvaluationContext  ConfigurationElement オブジェクトの ContextInformation オブジェクトを取得します。(ConfigurationElement から継承されます。)
プロテクト プロパティ Item  オーバーロードされます。 指定した ProfilePropertySettings オブジェクトを取得または設定します。(ProfilePropertySettingsCollection から継承されます。)
プロテクト プロパティ Properties  プロパティのコレクションを取得します。(ConfigurationElement から継承されます。)
プロテクト プロパティ RemoveElementName  派生クラスでオーバーライドされると、ConfigurationElementCollection での削除操作に関連付ける ConfigurationElement の名前を取得または設定します。 (ConfigurationElementCollection から継承されます。)
プロテクト プロパティ ThrowOnDuplicate  重複する ConfigurationElement を ConfigurationElementCollection に追加しようとしたときに、例外をスローするかどうかを示す値を取得します。(ConfigurationElementCollection から継承されます。)
パブリック メソッドパブリック メソッド
( プロテクト メソッド も参照)
  名前 説明
パブリック メソッド Add  ProfilePropertySettings オブジェクトをコレクションに追加します。 (ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド Clear  コレクションからすべての ProfilePropertySettings オブジェクトを削除します。 (ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド CopyTo  ConfigurationElementCollection の内容を配列にコピーします。 (ConfigurationElementCollection から継承されます。)
パブリック メソッド Equals オーバーロードされます。 オーバーライドされます。  
パブリック メソッド Get  オーバーロードされます。 ProfileSection オブジェクトを返します。 (ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド GetEnumerator  ConfigurationElementCollection の反復処理に使用する IEnumerator を取得します。 (ConfigurationElementCollection から継承されます。)
パブリック メソッド GetHashCode オーバーライドされます。 コレクションのハッシュ コードを生成します。
パブリック メソッド GetKey  指定したインデックス位置にある ProfilePropertySettings の名前を取得または設定します。 (ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド GetType  現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IndexOf  指定した ProfilePropertySettings オブジェクトのインデックスを返します。 (ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド IsReadOnly  ConfigurationElementCollection オブジェクトが読み取り専用かどうかを示す値を取得します。 (ConfigurationElementCollection から継承されます。)
パブリック メソッド ReferenceEquals  指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。)
パブリック メソッド Remove  ProfilePropertySettings オブジェクトをコレクションから削除します。 (ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド RemoveAt  指定したインデックス位置にある ProfilePropertySettings オブジェクトをコレクションから削除します。 (ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド Set  指定した ProfilePropertySettings オブジェクトをコレクションに追加します。 (ProfilePropertySettingsCollection から継承されます。)
パブリック メソッド ToString  現在の Object を表す String を返します。 (Object から継承されます。)
プロテクト メソッドプロテクト メソッド
  名前 説明
プロテクト メソッド BaseAdd  オーバーロードされます。 派生クラスでオーバーライドされると、ConfigurationElement を ConfigurationElementCollection インスタンスに追加します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseClear  コレクションからすべての構成要素オブジェクトを削除します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseGet  オーバーロードされます。 指定したインデックス位置にある ConfigurationElement を取得します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseGetAllKeys  ConfigurationElementCollection に格納されているすべての構成要素のキーの配列を返します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseGetKey  指定したインデックス位置にある ConfigurationElement のキーを取得します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseIndexOf  指定した ConfigurationElement のインデックス。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseIsRemoved  指定したキーを持つ ConfigurationElement が ConfigurationElementCollection から削除されているかどうかを示す値を取得します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseRemove  ConfigurationElement をコレクションから削除します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド BaseRemoveAt  指定したインデックス位置にある ConfigurationElement を削除します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド CreateNewElement  オーバーロードされます。 派生クラスでオーバーライドされると、新しい ConfigurationElement を作成します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド DeserializeElement  構成ファイルから XML を読み取ります。 (ConfigurationElement から継承されます。)
プロテクト メソッド Finalize  Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。)
プロテクト メソッド GetElementKey  派生クラスでオーバーライドされると、指定した構成要素の要素キーを取得します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド Init  ConfigurationElement オブジェクトを初期状態に設定します。 (ConfigurationElement から継承されます。)
プロテクト メソッド InitializeDefault  ConfigurationElement オブジェクトの既定の値セットを初期化するために使用します。 (ConfigurationElement から継承されます。)
プロテクト メソッド IsElementName  指定した ConfigurationElement が ConfigurationElementCollection に存在するかどうかを示します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド IsElementRemovable  指定した ConfigurationElement を ConfigurationElementCollection から削除できるかどうかを示す値を取得します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド IsModified  派生クラスでオーバーライドされると、この ConfigurationElementCollection が最後に保存された後または読み込まれた後に、変更されているかどうかを示します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド ListErrors  この ConfigurationElement オブジェクトおよびすべてのサブ要素の無効なプロパティのエラーを、渡されたリストに追加します。 (ConfigurationElement から継承されます。)
プロテクト メソッド MemberwiseClone  現在の Object の簡易コピーを作成します。 (Object から継承されます。)
プロテクト メソッド OnDeserializeUnrecognizedAttribute  逆シリカル化中に不明な属性が発生したかどうかを示す値を取得します。 (ConfigurationElement から継承されます。)
プロテクト メソッド OnDeserializeUnrecognizedElement  構成システムが例外をスローするようにします。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド OnRequiredPropertyNotFound  必須プロパティが見つからなかったかどうかを示す値を取得します。 (ConfigurationElement から継承されます。)
プロテクト メソッド PostDeserialize  逆シリアル化後に呼び出されます。 (ConfigurationElement から継承されます。)
プロテクト メソッド PreSerialize  シリアル化前に呼び出されます。 (ConfigurationElement から継承されます。)
プロテクト メソッド Reset  派生クラスでオーバーライドされると、ConfigurationElementCollection を変更されていない状態にリセットします。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド ResetModified  派生クラスでオーバーライドされると、IsModified プロパティの値を false にリセットします。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド SerializeElement  派生クラスでオーバーライドされると、構成データを構成ファイルの XML 要素に書き込みます。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド SerializeToXmlElement  派生クラスに実装されている場合、この構成要素の外側のタグを構成ファイルに書き込みます。 (ConfigurationElement から継承されます。)
プロテクト メソッド SetPropertyValue  プロパティを指定した値に設定します。 (ConfigurationElement から継承されます。)
プロテクト メソッド SetReadOnly  ConfigurationElementCollection オブジェクトとすべてのサブ要素の IsReadOnly プロパティを設定します。 (ConfigurationElementCollection から継承されます。)
プロテクト メソッド Unmerge  構成階層の異なるレベルの構成情報をマージした効果を反転させます。 (ConfigurationElementCollection から継承されます。)
参照参照

関連項目

RootProfilePropertySettingsCollection クラス
System.Web.Configuration 名前空間
ProfileSection クラス
ProfileSection.PropertySettings プロパティ
ProfileGroupSettingsCollection クラス

その他の技術情報

profile 要素 (ASP.NET 設定スキーマ)



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「RootProfilePropertySettingsCollection」の関連用語

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

   

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



RootProfilePropertySettingsCollectionのページの著作権

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

©2026 GRAS Group, Inc.RSS