ConfigurationElementCollection.BaseRemoveAt(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したインデックス位置にある ConfigurationElement を削除します。
protected public:
void BaseRemoveAt(int index);
protected:
void BaseRemoveAt(int index);
protected internal void BaseRemoveAt(int index);
protected void BaseRemoveAt(int index);
member this.BaseRemoveAt : int -> unit
Protected Friend Sub BaseRemoveAt (index As Integer)
Protected Sub BaseRemoveAt (index As Integer)
パラメーター
- index
- Int32
削除する ConfigurationElement のインデックス位置。
例外
構成は読み取り専用です。
-又は-
index が 0 未満であるか、コレクション内の ConfigurationElement オブジェクトの数を超えています。
-又は-
ConfigurationElement オブジェクトは既に削除されています。
-又は-
ConfigurationElement オブジェクトの値は、より高いレベルでロックされています。
-又は-
ConfigurationElement オブジェクトが継承されました。
-又は-
ConfigurationElement オブジェクトのTypeの値がAddRemoveClearMapまたはAddRemoveClearMapAlternateされていません。
注釈
BaseRemoveAt メソッドは、指定したインデックス位置にある要素の構成ファイルに<remove> ディレクティブを挿入します。