RuleSettingsCollection クラス
アセンブリ: System.Web (system.web.dll 内)
構文
解説
使用例RuleSettingsCollection 型を使用する方法を次のコード例に示します。このコード例は、HealthMonitoringSection クラスのトピックで取り上げているコード例の一部分です。
' Add a RuleSettings object to the Rules collection property. Dim ruleSetting As RuleSettings = new RuleSettings("All Errors Default", _ "All Errors", "EventLogProvider") ruleSetting.Name = "All Errors Custom" ruleSetting.EventName = "All Errors" ruleSetting.Provider = "EventLogProvider" ruleSetting.Profile = "Custom" ruleSetting.MaxLimit = Int32.MaxValue ruleSetting.MinInstances = 1 ruleSetting.MinInterval = TimeSpan.Parse("00:00:30") ruleSetting.Custom = "MyEvaluators.MyCustomeEvaluator2, MyCustom.dll" healthMonitoringSection.Rules.Add(ruleSetting) ' Add a RuleSettings object to the Rules collection property. healthMonitoringSection.Rules.Add(new RuleSettings("All Errors Default", _ "All Errors", "EventLogProvider")) ' Add a RuleSettings object to the Rules collection property. healthMonitoringSection.Rules.Add(new RuleSettings("Failure Audits Default", _ "Failure Audits", "EventLogProvider", "Default", 1, Int32.MaxValue, _ new TimeSpan(0, 1, 0))) ' Add a RuleSettings object to the Rules collection property. healthMonitoringSection.Rules.Add(new RuleSettings("Failure Audits Custom", _ "Failure Audits", "EventLogProvider", "Custom", 1, Int32.MaxValue, _ new TimeSpan(0, 1, 0), "MyEvaluators.MyCustomeEvaluator2, MyCustom.dll")) ' Insert an RuleSettings object into the Rules collection property. healthMonitoringSection.Rules.Insert(1, _ new RuleSettings("All Errors Default2", _ "All Errors", "EventLogProvider")) ' Display contents of the Rules collection property Console.WriteLine( _ "Rules Collection contains {0} values:", healthMonitoringSection.Rules.Count) ' Display all elements. For i As System.Int32 = 0 To healthMonitoringSection.Rules.Count -1 ruleSetting = healthMonitoringSection.Rules(i) Dim name As String = ruleSetting.Name Dim eventName As String = ruleSetting.EventName Dim provider As String = ruleSetting.Provider Dim profile As String = ruleSetting.Profile Dim minInstances As Integer = ruleSetting.MinInstances Dim maxLimit As Integer = ruleSetting.MaxLimit Dim minInterval As TimeSpan = ruleSetting.MinInterval Dim custom As String = ruleSetting.Custom Dim item As String = "Name='" & name & "', EventName='" & eventName & _ "', Provider = '" & provider & "', Profile = '" & profile & _ "', MinInstances = '" & minInstances & "', MaxLimit = '" & maxLimit & _ "', MinInterval = '" & minInterval.ToString() & "', Custom = '" & custom & "'" Console.WriteLine(" Item {0}: {1}", i, item) Next ' See if the Rules collection property contains the RuleSettings 'All Errors Default'. Console.WriteLine("EventMappings contains 'All Errors Default': {0}.", _ healthMonitoringSection.Rules.Contains("All Errors Default")) ' Get the index of the 'All Errors Default' RuleSettings in the Rules collection property. Console.WriteLine("EventMappings index for 'All Errors Default': {0}.", _ healthMonitoringSection.Rules.IndexOf("All Errors Default")) ' Get a named RuleSettings ruleSetting = healthMonitoringSection.Rules("All Errors Default") ' Remove a RuleSettings object from the Rules collection property. healthMonitoringSection.Rules.Remove("All Errors Default") ' Remove a RuleSettings object from the Rules collection property. healthMonitoringSection.Rules.RemoveAt(0) ' Clear all RuleSettings object from the Rules collection property. healthMonitoringSection.Rules.Clear()
// Add a RuleSettings object to the Rules collection property. RuleSettings ruleSetting = new RuleSettings("All Errors Default" , "All Errors", "EventLogProvider"); ruleSetting.Name = "All Errors Custom"; ruleSetting.EventName = "All Errors"; ruleSetting.Provider = "EventLogProvider"; ruleSetting.Profile = "Custom"; ruleSetting.MaxLimit = Int32.MaxValue; ruleSetting.MinInstances = 1; ruleSetting.MinInterval = TimeSpan.Parse("00:00:30"); ruleSetting.Custom = "MyEvaluators.MyCustomeEvaluator2, MyCustom.dll"; healthMonitoringSection.Rules.Add(ruleSetting); // Add a RuleSettings object to the Rules collection property. healthMonitoringSection.Rules.Add(new RuleSettings("All Errors Default", "All Errors", "EventLogProvider")); // Add a RuleSettings object to the Rules collection property. healthMonitoringSection.Rules.Add(new RuleSettings("Failure Audits Default", "Failure Audits", "EventLogProvider", "Default", 1, Int32.MaxValue, new TimeSpan(0, 1, 0))); // Add a RuleSettings object to the Rules collection property. healthMonitoringSection.Rules.Add(new RuleSettings("Failure Audits Custom", "Failure Audits", "EventLogProvider", "Custom", 1, Int32.MaxValue, new TimeSpan(0, 1, 0), "MyEvaluators.MyCustomeEvaluator2, MyCustom.dll")); // Insert an RuleSettings object into the Rules collection property. healthMonitoringSection.Rules.Insert(1, new RuleSettings("All Errors Default2", "All Errors", "EventLogProvider")); // Display contents of the Rules collection property Console.WriteLine( "Rules Collection contains {0} values:", healthMonitoringSection.Rules.Count); // Display all elements. for (System.Int32 i = 0; i < healthMonitoringSection.Rules.Count; i++) { ruleSetting = healthMonitoringSection.Rules[i]; string name = ruleSetting.Name; string eventName = ruleSetting.EventName; string provider = ruleSetting.Provider; string profile = ruleSetting.Profile; int minInstances = ruleSetting.MinInstances; int maxLimit = ruleSetting.MaxLimit; TimeSpan minInterval = ruleSetting.MinInterval; string custom = ruleSetting.Custom; string item = "Name='" + name + "', EventName='" + eventName + "', Provider = '" + provider + "', Profile = '" + profile + "', MinInstances = '" + minInstances + "', MaxLimit = '" + maxLimit + "', MinInterval = '" + minInterval + "', Custom = '" + custom + "'"; Console.WriteLine(" Item {0}: {1}", i, item); } // See if the Rules collection property contains the RuleSettings 'All Errors Default'. Console.WriteLine("EventMappings contains 'All Errors Default': {0}.", healthMonitoringSection.Rules.Contains("All Errors Default")); // Get the index of the 'All Errors Default' RuleSettings in the Rules collection property. Console.WriteLine("EventMappings index for 'All Errors Default': {0}.", healthMonitoringSection.Rules.IndexOf("All Errors Default")); // Get a named RuleSettings ruleSetting = healthMonitoringSection.Rules["All Errors Default"]; // Remove a RuleSettings object from the Rules collection property. healthMonitoringSection.Rules.Remove("All Errors Default"); // Remove a RuleSettings object from the Rules collection property. healthMonitoringSection.Rules.RemoveAt(0); // Clear all RuleSettings object from the Rules collection property. healthMonitoringSection.Rules.Clear();
継承階層System.Configuration.ConfigurationElement
System.Configuration.ConfigurationElementCollection
System.Web.Configuration.RuleSettingsCollection
スレッド セーフ
プラットフォームWindows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照RuleSettingsCollection コンストラクタ
アセンブリ: System.Web (system.web.dll 内)
構文
解説HealthMonitoringSection クラスの EventMappings プロパティは、常に RuleSettingsCollection のインスタンスを格納します。このクラスの新しいインスタンスを作成するのではなく、このインスタンスを使用します。
プラットフォームWindows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照RuleSettingsCollection プロパティ
パブリック プロパティ| 名前 | 説明 | |
|---|---|---|
| CollectionType | ConfigurationElementCollection の型を取得します。 ( ConfigurationElementCollection から継承されます。) |
| Count | コレクション内の要素の数を取得します。 ( ConfigurationElementCollection から継承されます。) |
| ElementInformation | ConfigurationElement オブジェクトのカスタマイズできない情報と機能を格納する ElementInformation オブジェクトを取得します。 ( ConfigurationElement から継承されます。) |
| EmitClear | コレクションが削除されているかどうかを指定します。 ( ConfigurationElementCollection から継承されます。) |
| IsSynchronized | コレクションへのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。) |
| Item | オーバーロードされます。 BufferModeSettings オブジェクトを取得します。 |
| 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 | オーバーロードされます。 BufferModeSettings オブジェクトを取得します。 |
| Properties | プロパティのコレクションを取得します。 ( ConfigurationElement から継承されます。) |
| RemoveElementName | 派生クラスでオーバーライドされると、ConfigurationElementCollection での削除操作に関連付ける ConfigurationElement の名前を取得または設定します。 ( ConfigurationElementCollection から継承されます。) |
| ThrowOnDuplicate | 重複する ConfigurationElement を ConfigurationElementCollection に追加しようとしたときに、例外をスローするかどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。) |
参照RuleSettingsCollection メソッド
パブリック メソッド| 名前 | 説明 | |
|---|---|---|
| Add | RuleSettings オブジェクトをコレクションに追加します。 |
| Clear | コレクションからすべての RuleSettings オブジェクトを削除します。 |
| Contains | 指定した名前の RuleSettings オブジェクトがコレクションに格納されている場合は true を返します。 |
| CopyTo | ConfigurationElementCollection の内容を配列にコピーします。 ( ConfigurationElementCollection から継承されます。) |
| Equals | オーバーロードされます。 ConfigurationElementCollection と指定したオブジェクトを比較します。 ( ConfigurationElementCollection から継承されます。) |
| GetEnumerator | ConfigurationElementCollection の反復処理に使用する IEnumerator を取得します。 ( ConfigurationElementCollection から継承されます。) |
| GetHashCode | ConfigurationElementCollection インスタンスを表す一意の値を取得します。 ( ConfigurationElementCollection から継承されます。) |
| GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
| IndexOf | コレクション内の、指定した名前の RuleSettings オブジェクトのインデックスを検索します。 |
| Insert | 指定した RuleSettings オブジェクトを、コレクションの指定したインデックス位置に追加します。 |
| IsReadOnly | ConfigurationElementCollection オブジェクトが読み取り専用かどうかを示す値を取得します。 ( ConfigurationElementCollection から継承されます。) |
| ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
| Remove | RuleSettings オブジェクトをコレクションから削除します。 |
| RemoveAt | 指定したインデックス位置にある RuleSettings オブジェクトをコレクションから削除します。 |
| 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 から継承されます。) |
参照RuleSettingsCollection メンバ
RuleSettings オブジェクトのコレクション。このクラスは継承できません。
RuleSettingsCollection データ型で公開されるメンバを以下の表に示します。
パブリック コンストラクタ
パブリック プロパティ| 名前 | 説明 | |
|---|---|---|
| CollectionType | ConfigurationElementCollection の型を取得します。(ConfigurationElementCollection から継承されます。) |
| Count | コレクション内の要素の数を取得します。(ConfigurationElementCollection から継承されます。) |
| ElementInformation | ConfigurationElement オブジェクトのカスタマイズできない情報と機能を格納する ElementInformation オブジェクトを取得します。 (ConfigurationElement から継承されます。) |
| EmitClear | コレクションが削除されているかどうかを指定します。(ConfigurationElementCollection から継承されます。) |
| IsSynchronized | コレクションへのアクセスが同期されている (スレッド セーフである) かどうかを示す値を取得します。(ConfigurationElementCollection から継承されます。) |
| Item | オーバーロードされます。 BufferModeSettings オブジェクトを取得します。 |
| 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 | オーバーロードされます。 BufferModeSettings オブジェクトを取得します。 |
| Properties | プロパティのコレクションを取得します。(ConfigurationElement から継承されます。) |
| RemoveElementName | 派生クラスでオーバーライドされると、ConfigurationElementCollection での削除操作に関連付ける ConfigurationElement の名前を取得または設定します。 (ConfigurationElementCollection から継承されます。) |
| ThrowOnDuplicate | 重複する ConfigurationElement を ConfigurationElementCollection に追加しようとしたときに、例外をスローするかどうかを示す値を取得します。(ConfigurationElementCollection から継承されます。) |
パブリック メソッド| 名前 | 説明 | |
|---|---|---|
| Add | RuleSettings オブジェクトをコレクションに追加します。 |
| Clear | コレクションからすべての RuleSettings オブジェクトを削除します。 |
| Contains | 指定した名前の RuleSettings オブジェクトがコレクションに格納されている場合は true を返します。 |
| CopyTo | ConfigurationElementCollection の内容を配列にコピーします。 (ConfigurationElementCollection から継承されます。) |
| Equals | オーバーロードされます。 ConfigurationElementCollection と指定したオブジェクトを比較します。 (ConfigurationElementCollection から継承されます。) |
| GetEnumerator | ConfigurationElementCollection の反復処理に使用する IEnumerator を取得します。 (ConfigurationElementCollection から継承されます。) |
| GetHashCode | ConfigurationElementCollection インスタンスを表す一意の値を取得します。 (ConfigurationElementCollection から継承されます。) |
| GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
| IndexOf | コレクション内の、指定した名前の RuleSettings オブジェクトのインデックスを検索します。 |
| Insert | 指定した RuleSettings オブジェクトを、コレクションの指定したインデックス位置に追加します。 |
| IsReadOnly | ConfigurationElementCollection オブジェクトが読み取り専用かどうかを示す値を取得します。 (ConfigurationElementCollection から継承されます。) |
| ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
| Remove | RuleSettings オブジェクトをコレクションから削除します。 |
| RemoveAt | 指定したインデックス位置にある RuleSettings オブジェクトをコレクションから削除します。 |
| 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 から継承されます。) |
参照Weblioに収録されているすべての辞書からRuleSettingsCollectionを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からRuleSettingsCollection
を検索
- RuleSettingsCollectionのページへのリンク